How to Add Another Domain to Hostgator

by Martin Malden

I was helping someone restore their blog the other day. They had tried to add a new domain to their Hostgator account and the result wasn’t pretty.

Their existing blog (the primary domain for their Hostgator account) was suddenly not available at all. In any guise.

We couldn’t navigate to it as a visitor and we couldn’t log in to the Admin screens as the blog owner.

After accessing her account via FTP and poking around a bit, it became clear that the only solution was to wipe the slate clean and start again.

She had installed her new blog over the top of the old one

Having got everything working again it seemed like a good idea to write a post on how to add another domain to a Hostgator account.

So here goes…

Setting up your new domain

Step 1: Get yourself a new domain

Enter the domain name you want into the box at the top of your Hostgator Control Panel and click ‘Go’ (circled below):

You’ll be presented with a screen offering various TLDs (Top Level Domains:  .com, .net, etc.) for the domain name you’ve entered.

Select the TLDs you want, the number of years you want to pay for, create your password and pay.

Step 2: Manage your new domain

You’ll shortly receive an email from Registry Rocket – the company that manages domain names for Hostgator.

You’ll need to access your domain and change the name servers.  So click the link they give you and login in using the domain name you just bought and the password you set up.

Step 3: Set the Name Servers

Copy the name server details for your account from the bottom left of your cPanel screen (circled below), 1 at a time:

Paste your name server details, one on each row, into the first two name server fields in the Registry Rocket screen – (circled below):

Save your changes, and you’re done for setting your name servers (sometimes referred to as DNS).

Step 4: Create the new domain in Hostgator

Go back to your Hostgator cPanel screen, go to the Domains area and click ‘Addon Domains’ (circled below):

You’ll come to this screen:

Add the domain you just bought into the New Domain Name field. The next two fields will be populated automatically so all you need to do is set a password.

You can use the same password you set up originally, or change it if you prefer. The password you enter here is the one you’ll need to set up in your email client (Outlook, Thunderbird or whatever you use) to get your email.

Then click ‘Add Domain’ and you’re done.

Managing your new domain

When you click File Manager you’ll now see your new domain as a folder underneath the public_html folder. You’ll see the same when you access your site files via FTP.

Initially it may look a little confusing because all the files and folders for the first domain you set up also sit under ‘public_html’.

New domains you add sit under the ‘public_html’ folder as well, and they get mixed up with the files and folders of your first domain.

So you need to be careful to ensure when you upload files to your new domain that you’re uploading them to the correct place.

They must go into the new folder, which will be be named your-new-domain.com, or whatever name and TLD you chose.

Follow exactly the same process to add 3rd and subsequent domains and it will soon become less confusing, because each new domain you add will sit in its own folder under ‘public_html’.

It’s only the first domain you added (the one you opened your Hostgator account with) where the files and folders are mixed in with the other domains.

As soon as you’ve set up your new domain in Hostgator you can upload files to it, but you won’t be able to access it for anything up to 48 hours.

This is the time it takes for all the elements on the Internet to be updated with the details of your new domain.

If I need to clarify anything leave a question in the comments below!

Please share this article - I'm counting on you!
       
Found this article useful? Get free updates!

Get regular updates, plus a free eBook on how to set up a business online - join us!

Your details are safe with me.
My Privacy Policy.

Previous post:

Next post: