.page
.content
h1.txt-Center Custom Domain
h3.txt-Center (advanced)
.txt-Center
- if !current_site.errors.empty?
.alert.alert-block.alert-error
- current_site.errors.each do |error|
p = error.last.first
.row.c-Row
.col.col-66
.content
p 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!
p You will have to purchase a domain name from a registrar like Namecheap, and then add an A record to point your domain (catsknitting.com) to the following IP address:
p 5.9.136.200
p If you want to add a www subdomain, or use a wildcard that will answer to everything (*), you will have to make a CNAME pointing to catsknitting.com for www and/or *.
p After that, you can add the domain to the box below (just the catsknitting.com, don't add any subdomains), and your domain should come online within 5 minutes:
form method="POST" action="/custom_domain"
input name="csrf_token" type="hidden" value="#{csrf_token}"
input name="domain" type="text" placeholder="catsknitting.com" value="#{current_site.domain}"
br
input.btn-Action type="submit" value="Update Domain"
p NOTE: This is for advanced users, we cannot provide technical support for this feature. If you cannot make this work, please contact your domain registrar.