October 24, 200817 yr comment_6792 I know this has come up many times but I am stumped big time this time. Trying to help a friend with his virtual host. http.conf file NameVirtualHost * <VirtualHost *> ServerName ez-pc.co.nz DocumentRoot /www/ezpc/ </VirtualHost> <VirtualHost *> ServerName buffalostats.hopto.org DocumentRoot /www/buffalostats/ </VirtualHost> Second host is a no-ip address. Can anyone see the problem? It always shows /www/ezpc/ website even when a user browses to buffalostats.hopto.org. 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/ Report
October 24, 200817 yr comment_6794 Hi kalpz, Try This: This should work ok Kalpz just paste in all the code and restart the services: NameVirtualHost * ##########VIRTUAL HOST SETUP########## # WWW.EZ-PC.CO.NZ <VirtualHost *> ServerName www.ez-pc.co.nz DocumentRoot /www/ezpc </VirtualHost> ##########VIRTUAL HOST SETUP########## # EZ-PC.CO.NZ <VirtualHost *> ServerName ez-pc.co.nz DocumentRoot /www/ezpc </VirtualHost> ##########VIRTUAL HOST SETUP########## # WWW.BUFFALOSTATS.HOPTO.ORG <VirtualHost *> ServerName www.buffalostats.hopto.org DocumentRoot /www/buffalostats </VirtualHost> ##########VIRTUAL HOST SETUP########## # BUFFALOSTATS.HOPTO.ORG <VirtualHost *> ServerName buffalostats.hopto.org DocumentRoot /www/buffalostats </VirtualHost> Danny Personal website Uniform Server - hMail Server - Joomla Report
October 26, 200817 yr Author comment_6798 Thank you Danny. That works. 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/ Report
October 26, 200817 yr comment_6799 Your welcome kalpz Glad it worked Danny Personal website Uniform Server - hMail Server - Joomla Report
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.