diff --git a/views/settings/site/custom_domain.erb b/views/settings/site/custom_domain.erb index 5c3dedc1..e90f7f6c 100644 --- a/views/settings/site/custom_domain.erb +++ b/views/settings/site/custom_domain.erb @@ -1,17 +1,17 @@

Custom Domain

- Adding a custom domain allows you to have a domain name attached to your web site. So if you had a domain like catsknitting.com, you could have it point to your Neocities site. If you don't have the domain yet, you will have to purchase a domain name from a registrar like Namecheap first. + Adding a custom domain allows you to have a domain name attached to your web site. So if you had a domain like yourdomain.com, you could have it point to your Neocities site. If you don't have the domain yet, you will have to purchase a domain name from a registrar like Namecheap first.

<% if current_site.custom_domain_available? %>

- We will be using catsknitting.com for the examples below. + We will be using yourdomain.com for the examples below, but you should replace it with your own domain name.

Step 1

- First, you need to add an "A record" to point your root domain (sometimes shown with an @ symbol) (catsknitting.com) to the following IP address: + First, you need to add an "A record" to point your root domain (sometimes shown with an @ symbol) (yourdomain.com) to the following IP address:

198.51.233.1

@@ -19,20 +19,34 @@

Step 2 (optional)

- Now you need to add an "AAAA record" that also points to your root domain. This is for IPv6 support. Use this address for the AAAA record: + Next, you can add an "AAAA record" that also points to your root domain. This isn't strictly required, but provides IPv6 support which helps future proof your site. Use this address for the AAAA record:

2620:2:6000::bad:dab:cafe

-

Step 3

+

Step 3 (optional)

- Add the domain name to the box below (just the catsknitting.com, don't add any subdomains), and your domain should come online within 5 minutes! + If you would like to have a www for your domain, create a CNAME record pointing www to yourdomain.com: +

+ +

www CNAME yourdomain.com

+ +

Note that any requests to www.yourdomain.com will automatically be redirected to yourdomain.com.

+ +

Step 4

+ +

Wait about 5 minutes for the namserver changes to update. Sometimes it can take a short while for your domain provider to update their records.

+ +

Step 5

+ +

+ Finally, add your domain name to the box below (just the yourdomain.com, don't add any subdomains), and your domain should come online within 5 minutes! We will automatically create SSL certs for your domain.

<%== csrf_token_input_html %> - +