Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 :>

share|improve this question
1  
Is there any information in the log files? –  Malte Bublitz Jan 10 '13 at 19:47
    
What do you mean by " link my domain on my VPS"? And what means "load fails"? I am guessing: you set up apache on server, the default site works. When you add the mentioned config, the apache does not start any more? If my guess is true then you could try to look into the log files, usually located at /var/log/apache2/ on debian systems. Post any error messages you find. Also, port 1430 is rather unusual, is this intentional? –  Isaac Jan 10 '13 at 19:50
    
Error.log and access.log doesn't log any error/warning. With "link my domain on VPS" I mean "I set my server's IP on DNS panel (of my domain). With "load fails" I mean that I get error from firefox (error loading page). Apache is running perfectly and if I use the IP to load the site, it works perfectly. And yeah, I setted port 1430, I also tried with port 80 and nothing changed (I also deactivated iptables to be sure xD) –  lala Jan 10 '13 at 20:15
    
<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 '13 at 20:24
    
my vhost? What do you mean exactly? This is the /sites-enabled/www.mysite.org –  lala Jan 10 '13 at 20:34
show 1 more comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.