Charles Posted September 11, 2008 Report Share Posted September 11, 2008 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? Quote Link to comment Share on other sites More sharing options...
kalpz Posted September 11, 2008 Report Share Posted September 11, 2008 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. ThanksKalpZ Quote 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/ Link to comment Share on other sites More sharing options...
Charles Posted September 11, 2008 Author Report Share Posted September 11, 2008 ##########VIRTUAL HOST SETUP########### sitename.INFO<VirtualHost *>ServerName sitename.infoDocumentRoot /www/serv6</VirtualHost> I replaced the actual name with "sitename". Quote Link to comment Share on other sites More sharing options...
kalpz Posted September 11, 2008 Report Share Posted September 11, 2008 ##########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 Quote 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/ Link to comment Share on other sites More sharing options...
Charles Posted September 11, 2008 Author Report Share Posted September 11, 2008 That did the trick!! Thanks a bunch!! =] Quote Link to comment Share on other sites More sharing options...
kalpz Posted September 11, 2008 Report Share Posted September 11, 2008 Most welcome Enjoy... Quote 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/ Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.