domain is pointing to default static page on server but settings look correct

Posted by Cues on Server Fault See other posts from Server Fault or by Cues
Published on 2012-04-11T01:19:46Z Indexed on 2012/04/11 5:32 UTC
Read the original article Hit count: 480

Filed under:
|

I have edited my apache vhost file in /etc/apache2/sites-enabled to add the following:

<VirtualHost *:80>
ServerName www.mysite.cn
ServerAlias mysite.cn *.mysite.cn
DocumentRoot /home/user/static/mysite/cn
</VirtualHost>

It still points to the default site on the server when i browse to mysite.cn but when i enter anything along the lines of ww3.mysite.cn it point to the new correct document root any clues of what the problem could be as i am lost.

© Server Fault or respective owner

Related posts about apache2

Related posts about vhost