I use debian 6 and I setted my webserver and it works perfectly. However, when I tried to link my domain on my VPS, it doesn't work. Load fails.
I also tried to ping my domain and it points to the correct server.
the conf of sites-enabled/mysite is:
Listen 1430
ServerAdmin webmaster@mysite.org
ServerName mysite.org
ServerAlias www.mysite.org
# Indexes + Directory Root.
DirectoryIndex index.html index.htm index.php
DocumentRoot /home/test/www
# Logfiles
ErrorLog /home/test/www/error.log
CustomLog /home/test/www/access.log combined
How can I fix this?
Thanks :>
<VirtualHost *:1430> ServerAdmin webmaster@mysite.org ServerName mysite.org ServerAlias www.mysite.org # Indexes + Directory Root. DirectoryIndex index.html index.htm index.php DocumentRoot /home/test/www # Logfiles ErrorLog /home/test/www/error.log CustomLog /home/test/www/access.log combined </VirtualHost>Did you embrace your vhost like this? – rhasti Jan 10 at 20:24