SmartFAQ is developed by The SmartFactory (http://www.smartfactory.ca), a division of InBox Solutions (http://www.inboxsolutions.net)

How do I add another domain name using cpanel?
  Requested and Answered by Carnuke on 2005/2/16 13:04:18     7443  reads 
I searched for some info on this and could not find adequate information.

so this is how to do it correctly:

1- Do not try to add an addon domain in cpanel unless your hosting plan provides for this. You should see in the main account page addon domain 0/1 or something like that. This means '0' have been added to an availability of '1'

2- Contact your hosting company to make sure.

3- The first thing you must do is to go to your domain name control panel and set the DNS information. You need to delete the first 2 nameservers that are already entered, as they will probably be pointing towards the domain seller's web space. Replace the name servers with the same name servers of your hosting company, the one that you want to use to hold the website for your other addon domain name. These will be the same as the name servers entered for your original domain name.

4- Wait at least 24 hours for these to resolve. This may seem an odd process, because your original domain name also points to the same name servers. Don't worry, nothing will change yet.

5- NOW you can setup you addon domain in your cpanel as follows:

Click Addon Domain Maintenance

Addon Domain Additions

Add the domain name (mynewdomainname) and directory (pgc) that you want to put your new website in.

This should be the return screen:

Quote:
The subdomain, pgc.mynewdomainname.co.uk has been added.

Nameserver ips for mynewdomainname.com are: 66.198.41.160,66.194.152.190 Bind reloading on sync using rndc Bind reloading on monitor using rndc
Created DNS entry for mynewdomainname.com

Setup Mail forward mynewdomainname.com -> pgc.mynewdomainname.com
Setup mynewdomainname.com OK
Adding httpd.conf entry for mynewdomainname.com to point to pgc.mynewdomainname.com
Syncing Ftp Databases....Done


mynewdomainname.com has been setup. It can be accessed via the subdomain pgc.mynewdomainname.com. FTP access has been granted with the username pgc and the password pgc.


If you try to add an addon domain before the dns has been added or resolved this is the type of message you get in the cpanel:


Quote:
The subdomain, pgc.mynewdomainname.co.uk has been added.

You do not have access to park on top of PGC.mynewdomainname.com

Removed Entry from httpd.conf The subdomain, PGC.mynewdomainname.com has been removed.

mynewdomainname.com could not be setup. The subdomain PGC.mynewdomainname.com was not setup either.

Addon Domain Maintenance


Which really is not very helpful.

You can now go to your webspace and you should see a new folder called in this case 'pgc' this is the root webspace that your newdomaninname.com points to. Install your website in here.

Please also see This FAQ on domain name setup.


The comments are owned by the author. We aren't responsible for their content.


Login

Username:
Password:

Lost Password? Register now!

Who's Online

70 user(s) are online (1 user(s) are browsing XOOPS FAQ)


Members: 0


Guests: 70


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Did you know ?

If you are trying to edit the theme.html in your themes folder and nothing seems to be changed, be sure that you set "Update module template .html files from themes/your theme/templates directory?" to "YES" in General Settings!!

Random question

What is the difference between a Topic and a Post?