Results 1 to 3 of 3

Thread: adding a domain without updating nameservers

  1. #1
    Registered User
    Join Date
    Jul 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default adding a domain without updating nameservers

    Hey gang, new around here, but I was hoping someone could help me out. I'm looking to add all of the content of a .com site I am migrating to a WHM/cpanel server, but I was hoping to test it on this server in an environment simulating the live version without actually pointing the A records to my WHM/cpanel host by using the Windows hosts file to point the traffic for me.

    When I go to create a new domain in cpanel, I receive an error that the nameservers are not pointing to this server yet. So to get around this I create the record required in /var/cpanel/userdata/xxxx/ , after doing so, I run /scripts/rebuildhttpdconf , yet the record is not showing up in /usr/local/apache/conf/httpd.conf .

    Any ideas on how to get this to work? I was thinking there might be a list of files or domains that the server uses to locate which files to use in /var/cpanel/userdata/xxxx/ or I have an error in my file in /var/cpanel/userdata/xxxx/ (completely possible, but doesn't seem likely).

    Thanks in advance!

  2. #2
    Member
    Join Date
    Nov 2011
    Posts
    383
    cPanel/WHM Access Level

    Root Administrator

    Default Re: adding a domain without updating nameservers

    Please go to your WHM > Main >> Server Configuration >> Tweak Settings and set
    Allow Remote Domains and Allow unregistered domains to On

  3. #3
    Registered User
    Join Date
    Jul 2012
    Posts
    2
    cPanel/WHM Access Level

    Root Administrator

    Default Re: adding a domain without updating nameservers

    Thanks! worked perfectly!

Similar Threads

  1. Own nameservers, distribution by adding a domain thru WHM?
    By sjac in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 02-09-2012, 02:58 PM
  2. Re-updating nameservers
    By john28 in forum New User Questions
    Replies: 1
    Last Post: 03-31-2011, 12:37 PM
  3. Adding NameServers??
    By networe in forum New User Questions
    Replies: 1
    Last Post: 02-21-2010, 04:58 AM
  4. check site before updating nameservers
    By chadi in forum cPanel & WHM Discussions
    Replies: 1
    Last Post: 06-01-2004, 06:51 PM
  5. adding nameservers
    By webhostau in forum cPanel & WHM Discussions
    Replies: 0
    Last Post: 11-26-2003, 04:33 AM