Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    12

    Default Help Please! DNS Not Working.

    Hello. I have a problem with the DNS on my server.
    Everytime I add a account to my server, the DNS says the domain is setup with the IP 192.168.1.5.
    I have the nameservers setup correctly on the domain however I can only access this website from the server only.
    Do I have something setup wrong somewhere?

    In "Basic cPanel/WHM Setup" is the Virtual Host IP meant to be a LAN address?

    Thanks for the help!

  2. #2
    Member
    Join Date
    Jul 2009
    Posts
    12

    Default

    I've removed my website account and changed my shared IP to my external one.
    Then I created the account again and the DNS is working great now, with it all pointing to my external IP not my LAN.

    Although the website can be accessed, it shows the "Apache is working on your cPanel® and WHM™ Server" page and not the actual webspace.

    So I thought there must be something wrong with the Virtual Hosts in httpd.conf. So I edited that and removed the IP and replaced it with a '*' in this line:
    Code:
    <VirtualHost *>
    Now it works fine, so what is really wrong with it?
    Will I have to edit httpd.conf everytime a account is created?

    Thanks for the help.

  3. #3
    Member
    Join Date
    Jun 2008
    Posts
    10

    Default

    Let me know the output of the following

    # cat /etc/ips
    # ip a
    # cat /etc/ipaddrpool
    # cat /etc/hosts

    WHM -> Basic cPanel/WHM Setup -> Main Shared Virtual Host IP

    Also what you get on the cpanel error log (/usr/local/cpanel/logs/error_log)
    Bazzii ....
    http://BazziiHosting.com :: Affordable Shared Cpanel Hosting

Similar Threads & Tags
Similar threads

  1. DNS not working
    By gasxtreme in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-12-2007, 06:41 AM
  2. DNS is not working
    By vodkajoe in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-17-2007, 10:50 PM
  3. DNS not working
    By TheZander in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-11-2006, 04:50 AM
  4. DNS looks right but not working.
    By GloVine in forum New User Questions
    Replies: 7
    Last Post: 10-01-2005, 03:14 PM
  5. DNS not working, domain DNS is correct
    By randyl in forum cPanel and WHM Discussions
    Replies: 13
    Last Post: 03-09-2003, 07:43 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube