Mobile app version of vmapp.org
Login or Join
Shelton105

: Can I use my own domain at wordpress.com retaining my DNS outside WP? I have my own domain (e.g. contoso.com). I also have a (free tier) wordpress.com account, using contoso.wordpress.com.

@Shelton105

Posted in: #Dns #Domains #Wordpress

I have my own domain (e.g. contoso.com). I also have a (free tier) wordpress.com account, using contoso.wordpress.com. My DNS is hosted with my registrar, and email is using Google Apps/G Suite. Currently in my DNS settings I have a URL redirect from (www.)contoso.com to contoso.wordpress.com. Everything works as it should here (web, email), but contoso.wordpress.com shows up in the address field, and I would like contoso.com to appear.

So I signed up for the /yr plan at WP to add a mapped domain. It would appear that I need to move my DNS hosting from my registrar to WordPress, and then my domain contoso.com will appear in the browser address field, instead of contoso.wordpress.com.

Is there any way I can keep hosting my DNS with my registrar but still get the redirect and browser address field name change? If I set the primary domain to contoso.com in WP, I get into a redirect loop, and if I change the URL redirects to A records, the same thing happens. (I need a DKIM TXT record, and it appears WP will not allow me to create one.)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelton105

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

Wordpress.com has a support page about mapping a sub-domain to your site using their /year plan: en.support.wordpress.com/domains/map-subdomain/
Their instructions say that you need to do two things:


Add CNAME records in your DNS:


sub.example.com CNAME to example.wordpress.com

In your WordPress.com site add the domain to your site (example.wordpress.com) using the "Already own a domain" option and make it the "primary" domain.


Since you are using a bare domain name (no subdomain), you can't use a CNAME at the for the APEX record. To use an external DNS system, you will need to find one that supports "ALIAS" records. An ALIAS serves an A record, but it periodically looks up the IP address to serve from the alias that you set. I use Amazon Route53 when I need a DNS host with alias records.

You would want to set the following records:


example.com ALIAS to example.wordpress.com example.com ALIAS to example.wordpress.com (WordPress would redirect this for you according to their documentation)


You could also try just setting the A record, however if WordPress changes their IP address, your site could stop working without warning. The following are the current IP addresses for lb.wordpress.com which is what your site currently points to:


example.com A 192.0.78.12
example.com A 192.0.78.13 example.com A 192.0.78.12 example.com A 192.0.78.13


To avoid the redirect loop problem, you need to clear your browser cache after making DNS record changes. Your browser must have the redirect from your domain name to your wordpress subdomain cached. Once your site is hosted on the domain name you need to clear your browser cache to be able to access your site. Only people who visited your domain name while it was redirecting will have that problem.

I also noticed that WordPress.com has instructions for getting mail to work: en.support.wordpress.com/domains/custom-dns/ That says that they support DKIM txt records. You may be able to use wordpress.com DNS servers and still have the DKIM support you need.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme