Jump to content
The Uniform Server Community

Recommended Posts

Posted

Hello!

 

I'm having a problem with my site address. When I type the site in with the "WWW" in the address (ex. www.sitename.com) it sends me to the default uniform server page (purple backround) but as when I don't (ex. sitename.com) it takes me to the site correct site. My server is hosting 6 sperapate pages using virtual hosting. When I created the virtual host I did NOT put the "www" in the address. I added it and still had the problem though (and the site wouldnt come up at all). What am I doing wrong? :blink:

Posted

Hi Charles

 

Could you please show us your Virtual Host setup inside your httpd.conf file.

 

udrive/usr/apache/conf/

 

Open the file, scroll right down and copy everything about Virtual Hosting.

 

Thanks

KalpZ

ATOMIC Web Hosting 2007 - 2011

Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail)

E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/

Posted

##########VIRTUAL HOST SETUP##########

# sitename.INFO

<VirtualHost *>

ServerName sitename.info

DocumentRoot /www/serv6

</VirtualHost>

 

I replaced the actual name with "sitename".

Posted

##########VIRTUAL HOST SETUP##########
# sitename.INFO
<VirtualHost *>
ServerName sitename.info
ServerAlias www.sitename.info
DocumentRoot /www/serv6
</VirtualHost>

 

Try this, you just needed an Alias with www. appended.

 

KalpZ

ATOMIC Web Hosting 2007 - 2011

Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail)

E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...