diff --git a/doc/static/custom-domains/godaddy_redirect_1.png b/doc/static/custom-domains/godaddy_redirect_1.png new file mode 100755 index 00000000..f06e088b Binary files /dev/null and b/doc/static/custom-domains/godaddy_redirect_1.png differ diff --git a/doc/static/custom-domains/godaddy_redirect_2.png b/doc/static/custom-domains/godaddy_redirect_2.png new file mode 100755 index 00000000..17fd3b3d Binary files /dev/null and b/doc/static/custom-domains/godaddy_redirect_2.png differ diff --git a/doc/static/custom-domains/godaddy_redirect_3.png b/doc/static/custom-domains/godaddy_redirect_3.png new file mode 100755 index 00000000..a04e10ec Binary files /dev/null and b/doc/static/custom-domains/godaddy_redirect_3.png differ diff --git a/doc/user-guide/custom-domains.md b/doc/user-guide/custom-domains.md index bd38280a..442b60c9 100644 --- a/doc/user-guide/custom-domains.md +++ b/doc/user-guide/custom-domains.md @@ -52,6 +52,27 @@ Some DNS providers don't support `ALIAS` records. If that's your case, you might need assistance, [contact us](mailto:contact@ploomber.io) ``` +(godaddy-redirect)= +### GoDaddy Redirection + +Since GoDaddy doesn't support Alias, as well as a non-IP for the CNAME root domain, you will need to configure a subdomain with www.yourdomain.com and redirect the traffic from your top domain (`yourdomain.com`) to it. To do so: + +1. Create a `www` [custom subdomain](custom-subdomain). +2. Update your DNS according to the instructions for this new subdomain `www.yourdomain.com`. +3. Set up a Forwarding Rule to your Subdomain, of type `Permanent (301)` redirect. + +![1-forwarding-rule](../static/custom-domains/godaddy_redirect_1.png) +![2-forwarding-rule](../static/custom-domains/godaddy_redirect_2.png) + +```{important} +For this to work, make sure to generate a new **subdomain** for your `www.yourdomain.com`, since the SSL certificate generated for the top domain doesn't cover the www subdomain in case of a redirect. +``` + +So when looking at the current domain configured for your application, you should see `www.yourdomain.com` and not `yourdomain.com`, as seen below: + +![3-forwarding-rule](../static/custom-domains/godaddy_redirect_3.png) + + (custom-subdomain)= ## Adding a custom subdomain @@ -205,4 +226,4 @@ Flag: 0 Tag: issuewild CA domain: "amazon.com" TTL: 60 -``` \ No newline at end of file +```