Custom Domains on Divshot
It's easy to get your Divshot app up and running on a custom domain.
You'll need to first add the domain into your Divshot app, and then set up your DNS to point at your app. You must do both parts for your custom domain to work.
Adding the Domain to Your App
Using the Dashboard
To add a custom domain to your app using the Dashboard, follow these steps:
In your app list, select an app and go to your app settings page:
Enter your domain - it is recommended you add both
non-www if you are not 100% sure.
Click Add Domain
That's it! Set up your DNS if you haven't done so already, give it a few minutes to propagate and enjoy using a custom domain!
Using the CLI
In the directory for your Divshot project, you can see existing custom domains for your app like so:
To add a new custom domain, just use
divshot domains:add www.my-app.com
To remove a domain, just use
divshot domains:remove www.my-app.com
Setting up DNS
Once you've added the custom domain to your app, you will need to create a
CNAME pointing your
your-app.divshot.io. If you've already added the custom domain using the command line
tool, you should be able to see your site up and running immediately!
Do not use
production.your-app.divshot.io when setting up a domain for your Production environment. Use only
We do not presently offer
A record IP addresses to host apex domains with Divshot. If you wish
to use the apex domain (e.g.
my-app.com instead of
www.my-app.com) with Divshot you will need
to make use of a DNS provider that offers top-level domain aliasing. These providers are known to
work (let us know if there are others!):
If you have any questions about custom domains, please get in touch.