Setting up a custom domain for your profile or publication

A custom domain is a website address that you can purchase from a domain registrar (such as GoDaddy, Namecheap, Google Domains, and many others) and then connect to your Medium profile or publication. Once you connect your custom domain, the domain will replace the medium.com URL of your profile page or publication with your own domain URL.

In this guide, you can learn how to set up a custom domain for your Medium profile or publication.

Before you begin

Requirements

In order to set up a custom domain, you must:

  • Have an active Medium membership subscription
    Learn more about becoming a Medium member.
  • Own the domain name you want to connect to your profile or publication
    You can purchase a domain at any domain provider available.
  • No proxies allowed
    Proxies must be disabled for your custom domain setup to work on Medium.

Supported domain schemes

You can only connect a top-level domain name like yourdomain.com or a subdomain like blog.yourdomain.com to your profile page or publication.

Please note that you cannot connect a custom URL that's a subdirectory (folder), for example yourdomain.com/blog.

Step 1: Set up your custom domain for your profile or publication

Desktop
  1. To begin the process of setting up a custom domain for your profile page, on your homepage, click on   your profile picture and click Settings from the menu.
    To set up a custom domain on your Medium publication, go to your publication homepage, click on your publication avatar in the top-right corner, and click Settings.
  2. In the Custom domain section, click Get started.
  3. On the next page, enter your domain name into the field (like "yourdomain.com") and move on to Step 2 below.

Step 2: Update A Records with your domain name provider

Now you need to update A records for your custom domain, and you can do that on your domain provider's website.

Host name Record Points to / IP address
@ A 162.159.153.4
@ A 162.159.152.4

If you can only create one record, match the first one in the list.

Below you can find instructions on how to add your A records for popular registrars.

GoDaddy Namecheap Google Domains
  1. Log in to your GoDaddy account.
  2. Select the owned domain you wish to link to Medium to access the Domain Settings page.
  3. Under Additional Settings, select Manage DNS.
  4. Select Add under the records table.
  5. Under Type, select A.
  6. Enter the details for your A record:
    1. Under Host, type in "@".
    2. Under Points to, paste in "162.159.153.4".
  7. Click Save.
  8. Follow the same steps to add a new A record pointing to "162.159.152.4".

More information can be found on Godaddy's support page.

Step 3: Finish connecting your domain

Desktop
  1. When you finish adding A records for your custom domain, return to Medium and click Continue.
  2. On the next screen, click Done. Your custom domain is being verified and once finished, it will automatically start pointing to your profile or publication. This process can take up to three days.

Troubleshooting

Setting up a domain with CAA records

If you're having problems with your custom domain setup and you have CAA records set on your domain, you will either need to add the following records as well (or remove CAA entirely):

  • example.com. IN CAA 0 issue "pki.goog"
  • example.com. IN CAA 0 issue "letsencrypt.org"

AAAA IPv6 records

These are the AAAA IPv6 records for your Medium custom domain:

  • 2606:4700:7::a29f:9804
  • 2606:4700:7::a29f:9904

Common questions

Can I connect more than one custom domain to my profile or publication?

You can only connect one custom domain per profile page or publication. There's no way to set up an additional custom domain for specific pages within your profile page or publication.

Can I integrate Google Analytics or add any other scripts?

Medium does not support Google Analytics, and there's no way to add any kind of code to your page.

Will my old Medium URLs break when I set up my custom domain?

No, your old URLs will start automatically redirecting to your custom domain URL once it's set up.

What are the SEO implications of linking a custom domain to my Medium page?

When you update your URL, Google and other search engines will also need to update your new profile page and post URLs in their search results. This process requires no action on your part, and might take up to a few weeks, and mostly depends on how popular the URLs are (for example, someone with more published stories, and thus more links, might get updated faster). Please note that this process is beyond Medium's control.

Can I integrate Google AMP or Facebook IA with my custom domain?

Medium does not support Google AMP, Facebook IA, or any other such service for your custom domain.

Was this article helpful?