How do I add my domain?

So, you are happy with your WordPress site on Pressidium and you wish to associate it with a domain you own, since you just migrated or you are deploying a new site to production. Perfect! You now need to perform the following simple steps:

  1. You need to update your DNS settings using the tools your domain registrar provides (this is usually the company from where you purchased the domain in the first place).
  2. You need to map your domain to your WordPress site using the "Mapped Domains" section in the Pressidium Portal
  3. We do all the rest! The following tasks will be performed automatically by us behind the scenes:
    1. We will update Pressidium's Web Application server farms so we can accept traffic for your domain and route it to the appropriate WordPress site.
    2. We will perform an automatic backup of your site (just in case!)
    3. We will update the home & site url settings of your WordPress site (If you wish, you can read about Changing Site URL for more information)
    4. We update your database to replace any references found to the old site url

 

 

Detailed Example

To describe the whole process let's look at a hypothetical example. Suppose you own the domain myblog.com and you have created a WordPress site on Pressidium named "myblog".

Your WP site "myblog" is instantly available at http://myblog.onpressidium.com, but you want to make your site publicly visible as http://www.myblog.com.

To achieve this, you need to follow the following two simple steps.

Step 1: Updating your DNS

You need to update your DNS settings so your DNS hostname for www.myblog.com points to your Pressidium site myblog. Follow these steps:

  • Create A records that point your domain name (myblog.com) to the IP addresses that are associated with your WordPress site. These are the public IP addresses of our multiple redundant public facing Firewalls and Load-Balancers which distribute traffic to the particular backend server farms that are hosting your site. Depending on which server farm you are on, and at which datacenter geo-location you are, there may be two, three, or more IP addresses associated to your site.
  • To find the IP addresses associated to your site on Pressidium® Pinnacle Platform, you can either simply login to wp-admin and from the Pressidium menu click on the "General" tab. Here you will see the public facing IP addresses that are associated with your WordPress install:

Pressidium WordPress PlugIn - DNS Information

OR, from virtually any operating system's command prompt (on Windows run "cmd", in Linux/Unix open a new shell, in MacOS run "terminal") you can simply execute the command "nslookup myblog.onpressidium.com" (replacing 'myblog' with your WP install name). This will return the IP addresses currently associated with your install from your location. There are also a bunch of online tools that will do the DNS lookup for you if you are having issues with the command prompt (for example your IT administrator doesn't allow you access to the command line).

Note: For fault tolerance there will always be at least two or more IP's associated with your site, never just one, so check again if you only noted one IP.

Now for each IP address you will need to add an A record using your DNS registrar's interface, in our example:

You have determined that your WordPress site myblog.onpressidium.com has been associated with the following IP addresses  85.159.213.71 &  85.159.213.95, you then use your domain's registrar tools to create the following two A records (remember to remove any old ones) :

  1. myblog.com  A 85.159.213.71
  2. myblog.com A 85.159.213.95
  • Next, to point your site's www address (www.myblog.com) to Pressidium, create the following CNAME record:
  1. www  CNAME myblog.com

When looked-up via DNS www.myblog.com resolves to myblog.com, which ultimetly resloves to your Pressidium IP addresses.

 

If you've followed the steps above your site is now pointing via DNS to Pressidium. Hurray!

Now only step 2. "Mapping your domain" remains.

DNS changes can take some time

Please also note, that DNS changes - by design - can take 24 to 48 hours to fully propagate on the internet, though we generally see much quicker propagation (within a few hours). Please remember to make sure your changes have successfully propagated.

IP Addresses may need to be changed

 Note that IP addresses are a utility level resource of our network infrastructure. They can change over time, so you may be required to periodically update these if the public IP addresses associated with your site change. Don't worry you will be notified if this is going to happen.

Your domain registrar will be able to help you with the actual creation of the required DNS records (A and CNAME records), although if you do encounter any difficulties our support team will help you get everything setup correctly.

For your convenience, below you can find a list of support articles from various DNS hosting providers with information about how to update your DNS records using their tools :

Step 2: Mapping your domain

Since, you now have two or more hostnames pointing to your site (in the above example www.myblog.com and myblog.com) you will need to choose which hostname will be your site's main URL and base domain, meaning which hostname will be configured in your WordPress install as your 'Site URL' and 'Home URL'.

Once you have decided which hostname will be your site's main URL and have checked that the DNS changes from the previous steps have successfully propagated, then you can log into the Pressidium Portal and map your hostname to your Pressidium site by :

  1. Selecting the "Websites" link from the left main navigation section
  2. From the list of sites select your site and click on the "Domains" tab
  3. Click on the "Map a Domain" button and enter your site's main URL (for example if you want your site URL to be http://www.myblog.com then add "www.myblog.com") in the Domain Name field.
  4. Press the "Add Domain" button
  5. Add the additional hostnames that you created in the previous steps by clicking the "Add Redirect" button. In this example if we add "myblog.com" as a redirect we also 'listen' for requests at http://myblog.com too and will  permantely (301) redirect them to http://www.myblog.com.
  6. Wait a few minutes as we automatically process your request - we will send you a notification e-mail once we are done.
  7. Once you receive the process completion notification e-mail, you can check that your site is now accessible from http://www.myblog.com (and http://myblog.com)

See the following screenshot :

CPMappedDomain

 

If you are having any trouble or difficulties following this guide, or if you are not entirely familiar with some concepts regarding your domain and the domain name system (DNS) you can always open a support ticket.

Our support team will be more than happy to guide you along and assist you in the process (if you provide us with your credentials in your DNS registrar's interface, our support team can make all the above changes for you, so you don't even have to lift a finger!).