Morningstar88 / citybuilder

Where we regenerate cities.
7 stars 2 forks source link

Gandi A Records. Can't point citybuilder.microflow.io at our bare IP. #74

Closed Morningstar88 closed 7 years ago

Morningstar88 commented 7 years ago

https://wiki.gandi.net/en/dns/zone/a-record

https://wiki.gandi.net/en/dns/zone/edit

Morningstar88 commented 7 years ago

How to edit a domain's zone file

1. Go to the domain's management page

Go to your domain's management page and look down to the “Zone files” area that is on the bottom right-hand side of the page.

  1. Create a copy of the zone file (if necessary)

If zone file is not editable

Morningstar88 commented 7 years ago

Difference between A Records and CName

http://www.noip.com/blog/2011/07/11/what-is-the-difference-between-a-cname-record-a-record-and-redirect/

A Record

An A record is the actual record. The name is resolved to the corresponding IP address.

An example of this is www.no-ip.com resolves to 204.16.252.112

CName

An example of this is:

www.no-ip.com to www.noip.com

Morningstar88 commented 7 years ago

Name Servers

https://wiki.gandi.net/en/domains/management/using-gandi-dns

If you want to use Gandi's DNS, click on “Modify servers”. This will bring up the following:

https://wiki.gandi.net/_media/en/domains/management/change2gandidns-2-en.png

a.dns.gandi.net

b.dns.gandi.net

c.dns.gandi.net

To quickly switch to using Gandi's DNS servers, click on “Use Gandi's nameservers,”. The form will change to be pre-filled with our DNS and you will be offered the possibility of choosing a pre-existing zone file by using the dropdown menu.

Morningstar88 commented 7 years ago

Changing a Zone File

Morningstar88 commented 7 years ago

How to Set Up a Subdomain

A subdomain is a subordinate space of any domain. i.e. blog.example.com or citybuilder.microflow.io

How to Make a Subdomain

Make a zone file entry

Let's say you want to “point” www.example.com to a Gandi Simple Hosting server. To do this, you'll need to add an entry in your DNS zone file similar to this one.

www 10800 IN CNAME gpaas1.dc0.gandi.net.

Don't forget the dot or it will not work.

And perhaps you have a mobile phone website hosted by Wix and you need a ”m” subdomain, then you just add a line like:

m 10800 IN A 216.139.213.144

Create an A Record

Learn how to edit the zone file first:

https://wiki.gandi.net/en/dns/zone/edit