Hi, i have setup a webdomain spanoweb.com and also created a cname for this (subdomain) paulself.spanoweb.com this all works ok spanoweb resolved to my home computer but heres the problem, i went to setup virutal hosting and added these lines:
<VirtualHost *>
UseCanonicalName Off
ServerAdmin noel@spano.co.uk
ServerName ServerAlias spanoweb.com
DocumentRoot "c:/program files/apache group/apache2/htdocs/"
ScriptAlias /cgi-bin/ "D:/program files/apache group/apache2//cgi-bin/"
</VirtualHost>
<VirtualHost *>
UseCanonicalName Off
ServerAdmin noel@spano.co.uk
ServerName ServerAlias paulself.spanoweb.com
DocumentRoot "c:/program files/apache group/apache2/htdocs/paulself"
ScriptAlias /cgi-bin/ "c:/program files/apache group/apache2/paulself/cgi-bin/"
</VirtualHost>
except when there enabled like that they both either go to the home folder and ignore the one which is taking it to the paulself id, what is wrong, are these namebased or ip based as if there namebased i still have #NameVirtualHost * like that will i need to remove that? thanks
Also any ideas will help. or other ways to do this
P.S i am using * instead of ip because i have a dynamic ip
The way web design should be
<VirtualHost *>
UseCanonicalName Off
ServerAdmin noel@spano.co.uk
ServerName ServerAlias spanoweb.com
DocumentRoot "c:/program files/apache group/apache2/htdocs/"
ScriptAlias /cgi-bin/ "D:/program files/apache group/apache2//cgi-bin/"
</VirtualHost>
<VirtualHost *>
UseCanonicalName Off
ServerAdmin noel@spano.co.uk
ServerName ServerAlias paulself.spanoweb.com
DocumentRoot "c:/program files/apache group/apache2/htdocs/paulself"
ScriptAlias /cgi-bin/ "c:/program files/apache group/apache2/paulself/cgi-bin/"
</VirtualHost>
except when there enabled like that they both either go to the home folder and ignore the one which is taking it to the paulself id, what is wrong, are these namebased or ip based as if there namebased i still have #NameVirtualHost * like that will i need to remove that? thanks
Also any ideas will help. or other ways to do this
P.S i am using * instead of ip because i have a dynamic ip
The way web design should be