This article will be part 3 of our Step By Step Guide To Setup WordPress Multiple Sites On Single VPS hosting. Before moving forward, make sure to read

1.Domain Setup:

Head over to bluehost.com and register your domain name. (I also had great experience with namecheap.com)

Login to your account and Domains > YourDomainName.com >Name Servers

(In my case I will be using Domains > carinsurancequotesusa.info >Name Servers )

 

 

Point your name servers to DigitalOcean and fill in three Domain Name Server fields. Once done, save your changes and exit.

The DigitalOcean domain servers are

  • ns1.digitalocean.com
  • ns2.digitalocean.com
  • ns3.digitalocean.com

You can verify that the new name servers are registered by running WHOIS again; the output should include the updated information:

[toggle state=”open” ]Domain Name: carinsurancequotesusa.info Registrar: ENOM, INC. Whois Server: whois.enom.com Referral URL: http://www.enom.com Name Server: NS1.DIGITALOCEAN.COM Name Server: NS2.DIGITALOCEAN.COM Name Server: NS3.DIGITALOCEAN.COM Status: ok[/toggle]Note! Although the name servers are visible through WHOIS, it may take an hour or two for the changes to be reflected on your site.

2. Configure your Domain on digitalocean VPS Hosting:

Login to your account.



Within the DNS section, click on Add Domain, and fill in the the domain name field and IP address of the server you want to connect it to on the subsequent page. Note: The domain name does not have a www at the beginning.

 

New domain message will be created, you will also see “Domain was successfully created” message.

 

CNAME Records: The CNAME record works as an alias of the A Record, pointing a subdomain to an A record— if an A Record’s IP address changes, the CNAME will follow to the new address. To prepend www to your URL, click on “Add a new CNAME record” and fill out the 2 fields.

Your screen should look like this:

 

Finishing Up with Digital-ocean VPS Hosting:

Once you have filled in all of the required fields, your information will take a while to propagate, and the Name Server information will be automatically filled in. Your domain name should be up and supported in a few hours.

Make sure to verify if your host has been registered properly. To test use the following command to ping it.

[toggle state=”open” ]ping carinsurancequotesusa.info[/toggle]If everything went as expected, you should be able to ping successfully. You should also be able to access your site through browser.

Last part of our VPS Hosting series would be , How To Install Linux, Apache, MySQL, PHP (LAMP) stack on Ubuntu