Thread: Virtual Host
View Single Post
  #4  
Old 03-06-2006, 07:51 AM
Soulwatcher's Avatar
Soulwatcher Soulwatcher is offline
Senior Member
GB GEEK
 
Join Date: Feb 2006
Posts: 309
Send a message via MSN to Soulwatcher
Default

Some one correct me if I am wrong. But this is a old example of how I had my Virtual Host setup. This setup is before me using a control panel.

# Virtual host How To Webserver
<VirtualHost 192.168.1.151>
DocumentRoot /home/mywebsite
ServerAdmin soulwatcher@*******.com
ServerName www.mywebsite.com
ServerAlias mywebsite.com
ServerAlias www.mywebsite.net
ServerAlias mywebsite.net
<Directory "/home/mywebsite/">
AllowOverride none
</Directory>

You should have Apache always configured to listen on port 80.
Reply With Quote