Search Knowledge base
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:
- 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).
- You need to map your domain to your WordPress site using the “Mapped Domains” section in the Pressidium Portal
- We do all the rest! The following tasks will be performed automatically by us behind the scenes:
- 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.
- We will perform an automatic backup of your site (just in case!)
- 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)
- We update your database to replace any references found to the old site url
To describe the whole process let’s look at a hypothetical example. Suppose you own the domain my
blog.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
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:
Arecords 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:
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 220.127.116.11 & 18.104.22.168, you then use your domain’s registrar tools to create the following two A records (remember to remove any old ones) :
- Next, to point your site’s www address (www.myblog.com) to Pressidium, create the following CNAME record:
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.
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 :
- BlueHost : How to Modify Your DNS Records
- MediaTemple : How can I change the DNS records for my domain?
- NameCheap : How do I set up host records for a domain?
- GoDaddy : Managing DNS for Your Domain Names
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 :
- Selecting the “Websites” link from the left main navigation section
- From the list of sites select your site and click on the “Domains” tab
- 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.
- Press the “Add Domain” button
- 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.
- Wait a few minutes as we automatically process your request – we will send you a notification e-mail once we are done.
- 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 :
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!).