Find the answer to your Linux question:
Results 1 to 5 of 5
Hi, I have a problem with my website. I have a dedicated server from a webhost. I can access the site using Lynx but cant view it on browser. The ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55

    website inaccessible outside

    Hi,

    I have a problem with my website. I have a dedicated server from a webhost. I can access the site using Lynx but cant view it on browser. The domain is pointing to that IP when pinged. I tried without virtual host and adding it to virtual but still the same.

    "Tail" has this:

    "GET / HTTP/1.0" 200 281

    Hope you can help.

    Thanks.

  2. #2
    Just Joined!
    Join Date
    Jan 2007
    Location
    San Antonio, TX
    Posts
    21
    If you run a running tail (tail -f /var/log/httpd/access_log) and you try hitting the page from your browser to you see the requests come in? Can you telnet to the domain on port 80? Are you sure that apache is listening on an interface other than localhost (netstat -ntlp).

  3. #3
    Linux Newbie
    Join Date
    Apr 2008
    Location
    India
    Posts
    170
    hi ,

    stop your firewall and iptables and try access the domain ..
    if u are able to do so add a rule in iptable to open port 80
    Regards
    David.s
    davidanands.co.cc
    -->Success is the list of failures ...!!!

  4. #4
    Penguin of trust elija's Avatar
    Join Date
    Jul 2004
    Location
    Either at home or at work or down the pub
    Posts
    2,838
    This is normally due to the Apache configuration, you don't say what distro the server is running so (for the two I know)

    Red Hat / CentOS
    Post the contents of /etc/httpd/conf/httpd.conf

    Ubuntu / Debian
    Post the contents of /etc/apache2/apache.conf and /etc/apache2/sites-available/site-name-file
    If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)


    My new blog. It's probably not as good as I think it is.

    The Fifth Continent reborn

  5. #5
    luv
    luv is offline
    Just Joined!
    Join Date
    Aug 2004
    Posts
    55
    thank you all for your replies. it is related to firewall and ip tables.

    my host has no step-by-step info, this is quite hard for noobs.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •