The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

NO websites working on my server

Discussion in 'General Discussion' started by Chriz1977, Mar 16, 2010.

  1. Chriz1977

    Chriz1977 Well-Known Member

    Joined:
    Sep 18, 2006
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Hi

    All of a sudden, none of my websites on my server are working. Ping cant resolve them. Ive checked the dns and it all looks ok. Anyone got any ideas where to look next??

    Cheers
    Chriz
     
  2. servertechs

    servertechs Active Member

    Joined:
    Aug 24, 2008
    Messages:
    38
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    India
    Please check var log messages on the server.
     
  3. Chriz1977

    Chriz1977 Well-Known Member

    Joined:
    Sep 18, 2006
    Messages:
    191
    Likes Received:
    0
    Trophy Points:
    16
    Yeah, ive checked that, nothing unusual. Any more ideas anyone?

    Chriz
     
  4. nimrodx

    nimrodx Active Member

    Joined:
    Jul 24, 2005
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Edinburgh, Scotland
    The list is endless.

    That's like saying "I walked into the room and it's cold but it should be warm. Any ideas people?"

    If a ping can't resolve them you have a DNS issue. Is BIND running? Have you checked all the config files and zone files to make sure they're correct?

    What happens if you try:

    lynx Apache Status ?
     
  5. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    You could have an error in your zone files (/var/named/*.db) or in your main configuration (/etc/named.conf) or you could possibly have access to DNS blocked or it could be something as simple as the DNS service (named) has not been started and is offline (common after reboots):

    What does the following tell you?
    Code:
    # service named status
    # service named restart
    
    Also, anything useful from these?
    Code:
    # tail -50 /var/log/named.log
    # grep "named" /var/log/messages | tail -50
    
    If you got CSF or some other firewall installed, make sure that you have not blocked port number 53 as that will kill your DNS.

    Similarly, if you harden your /etc/named.conf configuration and restrict the recursion and transfers, make sure your resolvers are whitelisted else you will again cutoff access to your DNS servers.
     
Loading...

Share This Page