Connecting domain with hosting server

  •  
  •  
  •  
  •  
  •  

You may  know many things of website development like your know HTML, CSS, PHP, JavaScript and many more. But in real project when client will ask you to build a new website. You will see that most of the times they have purchased domain and hosting but not pointed domain to the hosting server. Therefore, It is very important that you know connecting domain with hosting server. If your  client takes domain and hosting from same hosting company then you need to connect domain with hosting. This tutorial is created based on hostgator hosting company but the process is same for any hosting like godaddy. Just you need to add name server according to that specific hosting server.

Connecting domain to your  hosting package, we need to do two things.
1. Add domain using  “Addon domain” option of  cPanel.

Go to your cPanel and search for “addon” and “Addon Domain” option will be visible like the bellow image. You need to click on that.

Connecting domain

2. At this point a form like this will poup and you just need to input domain name here as for example: emon.com. Here you just need to input domain name only. The rest of fields will have automatically be generated. Now click on “Add Domain”.

add domain

So, you are done now. Just go to your public_html folder and you will see that a new folder has been created named emon.com. This is the hosting created for your specific domain.

But in case if your client purchased hosting form hostgator but purchased domain from godaddy or anywhere else. Then you need to login to that domain account and point name server of domains to :
cns117.hostgator.com and cns118.hostgator.com

By doing this no matter from where have you purchased your domain but it will be integrated with hostgator. Please also note that there is propagation period. And Propagation time can vary depending on the geographical location. Normally, the name servers takes 0-24 hours and is known to take up to 48 hours maximum to go into full effect. Once the propagation is done you can work with your domain.

If this article is helpful or do you need any assistance, please make comment in the comment box and I will try to reply you as soon as I can.

 

 


  •  
  •  
  •  
  •  
  •  

Related Post

Leave a Reply

Your email address will not be published. Required fields are marked *