hello, yesterday I pointed a domain to my server, set up a codomain like described in the manual without any forwards, I just want both domains to point to the same content. when I browse to the codomain I end up inside my shared IP folder. any clues why?
I found this entries: <VirtualHost 81.169.176.18:80> SuexecUserGroup web2_info web2 ServerName www.hai-hui.net:80 ServerAdmin [email protected] DocumentRoot /var/www/web2/web ServerAlias hai-hui.net hai-hui.eu DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 $ ScriptAlias /cgi-bin/ /var/www/web2/cgi-bin/ AddHandler cgi-script .cgi www.hai-hui.eu is the codomain, www.hai-hui.net is the main domain.
I added that after posting but it does not help at all !? I tried saving again but with hostname www it does not get saved to Vhosts... I just manually entered www.hai-hui.eu as ServerAlias and it works... no idea why it did not get saved.
Have a look at this thread: http://www.howtoforge.com/forums/showthread.php?t=3695 Please try if you get a segfault if you run the test described as 2).