You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: linode/buy_domain.md
+25-27Lines changed: 25 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -23,15 +23,15 @@ In the search bar, find yourself a domain name that you want to register. You ma
23
23
24
24
I will search for _bolderlearner.com_. If it is available, I will add it to my cart. You will find the name with possible other extensions such as _.net_ or _.academy_. Pick the one that is most appropriate for your application. Namecheap normally offers monthly discounts when you register a domain name. Be sure to check that out and take advantage of the discount.
Once the name is in my cart, I will click in the checkout button to begin the process of confirming my order. I will register this domain for one year. You can choose to register it for longer periods of time by clicking the dropdown menu and selecting the number of years you would like to register the domain for.
27
29
28
-
By default, domain privacy is enabled just to protect you and your information when you register a domain. You can disable this by clicking the privacy buttons, but I don't know why you'd want to do that. There is a linux terminal command that you can use to find out more information about a domain name. So, for example, if I want to find out more information about _bolderlearner.com_, I can run the command `whois bolderlearner.com`. This simple command will reveal all the information about the domain name. If your domain privacy is disabled, all your personal details will be visible to anyone who runs this command. However, since the domain privacy is enabled by default, I am not be concerned about this since everything about me is blocked.
30
+
By default, domain privacy is enabled just to protect you and your information when you register a domain. You can disable this by clicking the privacy buttons, but I don't know why you'd want to do that. There is a linux terminal command that you can use to find out more information about a domain name. So, for example, if I want to find out more information about _bolderlearner.com_, I can run the command `whois bolderlearner.com`. This simple command will reveal all the information about the domain name. If your domain privacy is disabled, all your personal details will be visible to anyone who runs this command. However, since the domain privacy is enabled by default, I am not be concerned about this because everything about me is blocked.
29
31
30
-
Namecheap also offers other addons such as SSL, VPN, Professional Email, and more. I will not be using any of these addons because I can do them myself. That is all I need to register my domain name. I will proceed to confirm my order. If you are interested in discounts, you will see a Promo Code field. Enter the promo code on offer during the month of your purchase, click "Apply" before clicking "Confirm Order". Since I am not a first time registrant, the coupon shown below will be invalid.
32
+
Namecheap also offers other addons such as SSL, VPN, Professional Email, and more. I will not be using any of these addons because I can do them myself. That is all I need to register my domain name. I will proceed to confirm my order. If you are interested in discounts, you will see a Promo Code field. Enter the promo code on offer during the month of your purchase, click "Apply" before clicking "Confirm Order". Since I am not a first time registrant, the coupon shown above will be invalid.
I will be redirected to the billing page where I can enter my credit card information. For this domain, I will disable autorenewal for my purchase. Once that is done, I will click "Continue". Namecheap will then redirect me to a confirmation page just to make sure that the details I have entered are correct. If everything looks good, I will confirm this purchase.
34
+
I will be redirected to the billing page where I can enter my credit card information. I have left out an image illustration of the billing page for privacy of my details. For this domain, I will disable autorenewal for my purchase. Once that is done, I will click "Continue". Namecheap will then redirect me to a confirmation page just to make sure that the details I have entered are correct. If everything looks good, I will confirm this purchase.
35
35
36
36
Back to my namecheap dashboard, I can click the [Domain List](https://ap.www.namecheap.com/domains/list/) link in the sidebar navigational menu to see the domain I just purchased. There is a "Manage" button next the domain. Clicking this button will redirect me to the domain management page.
37
37
@@ -47,7 +47,7 @@ To add a new domain, I will make use of the [DNS Manager Documentation](https://
47
47
48
48
### DNS Set-Up Checklist
49
49
50
-
1.[Register a domain name](#register-a-domain-name)
50
+
1.[Register a domain name](#register-a-domain-name) (completed above)
51
51
2.[Set your domain name to use Linode's nameservers](#set-your-domain-name-to-use-linode-s-nameservers)
52
52
3.[Use the DNS Manager to add a new record to your domain](#use-the-dns-manager-to-add-a-new-record-to-your-domain)
53
53
4.[Set up revers DNS](#set-up-revers-dns)
@@ -71,41 +71,41 @@ I will paste the nameservers into the text boxes then click on the :heavy_check_
Both Linode and Namecheap say that the changes I have made will take some time, usually 24 - 48 hours, to take effect. In computer jargon, this is known as a "DNS propagation delay".
74
+
Both Linode and Namecheap say that the changes I have made will take some time, usually 24 - 48 hours, for the changes to apply. In computer jargon, this is known as a "DNS propagation delay".
75
75
76
76
### Use the DNS Manager to Add a New Record to Your Domain
77
77
78
78
Within my domain list in Linode's dashboard, there is a button called "Create Domain".
To add my new domain name, I will click on this button.
82
+
To add my new domain name, I will click on this button. I will see this page:
83
83
84
84

85
85
86
-
I have added a temporary email _[email protected]_ which does not exist yet. "Create Domain" button will create this new domain and redirect me to Linode's domain management page.
86
+
I have added my domain and a temporary email _[email protected]_ which does not exist yet. "Create Domain" button will create this new domain and redirect me to Linode's domain management page.
At first, this might look very intimidating, but it is actually very simple. What I am interested in here is to add some DNS records to my domain. Example of DNS records are A records, CNAME records, MX records, and TXT records.
91
91
92
-
The first record that I am going to add is an A record. This record is used to point my domain name to a specific IP address. I will use the IP address of my Linode. This record requires the following fields:
92
+
The first record that I am going to add is an A record. This record is used to point my domain name to a specific IP address. The IP address in context is the IP address of my Linode. This record requires the following fields:
93
93
94
94
-`Hostname`: This is the domain name that I want to point to my IP address.
95
95
-`IP Address`: This is the IP address that I want to point to my domain name.
96
96
-`TTL`: This is the time to live of the record. It sets the lifespan of the cache for the DNS record
97
97
98
-
I will click on "Add an A/AAAA Record" button to update my hostname, IP address, and TTL.
98
+
I will click on "Add an A/AAAA Record" button (seen above) to update my hostname, IP address, and TTL.
I have added my host name as `www`, my IP address as 212.71.247.241 and I left TTL as it was, that is "Default". The IP address that I am using currently is different from the one you saw in [the previous tutorial](deploy_on_linode.md). This is because I recreated the entire project and obtained a new IP address. Moving forward, I will be using this new IP address.
102
+
I have added my host name as `www`, my IP address as _212.71.247.241_ and I left TTL as it was, that is "Default". The IP address that I am using currently is different from the one you saw in [the previous tutorial](deploy_on_linode.md). This is because I recreated the entire project and obtained a new IP address. Moving forward, I will be using this new IP address.
103
103
104
104
I can add more A records to my domain. Currently, I have only `www` record.
105
105
106
-
-`Hostname`: for example bolderlearner.com. I want a quick search of this domain, without the `www.` prefix.
107
-
-`blog`: so this will be something like blog.bolderlearner.com.
108
-
-`*` (asterisk) - this is an example of a wildcard record. It will match any request for domains that do not exist. Wildcards are often used to point all non-existing domains to a specific IP address or top-level domain. If the querried first-level domain does not exist, the IP address specified in the wildcard DNS record will respond. For example, if I search for a non-existent app.bolderlearner.com, I will re-directed to www.bolderlearner.com.
106
+
-`Hostname`: in case a user forgest the `www.` prefix.
107
+
-`blog`: this will be something like _blog.bolderlearner.com_.
108
+
-`*` (asterisk) - this is an example of a wildcard record. It will match any request for domains that do not exist. Wildcards are often used to point all non-existing domains to a specific IP address or top-level domain. If the querried first-level domain does not exist, the IP address specified in the wildcard DNS record will respond. For example, if I search for a non-existent _app.bolderlearner.com_, I will re-directed to www.bolderlearner.com.
109
109
110
110
111
111
@@ -122,7 +122,7 @@ What I am interested in here is the IPv4 address. The first row is the IP addres
Only on form field is provided. In my case, I have added my domain name as www.bolderlearner.com. Sometimes it may take a few minutes for the DNS to propagate and it might look like you have an error. Give it a few minutes if that is the case for you. My edit was instant. As soon as you save, you will see that Reverse DNS column has been updated.
125
+
Only one form field is provided. In my case, I have added my domain name as www.bolderlearner.com. Sometimes it may take a few minutes for the DNS to propagate and it might look like you have an error. Give it a few minutes if that is the case for you. My edit was instant. As soon as you save, you will see that Reverse DNS column has been updated.
126
126
127
127
I will open my browser and paste my domain name into the search bar to test if the application is accessible.
128
128
@@ -133,48 +133,46 @@ As you can see, I can access my application on www.bolderlearner.com. I have tes
133
133
134
134
### Add Additional DNS Records
135
135
136
-
If you are familiar with [Twilio Sendgrid](https://sendgrid.com/), you probably know that it is a cloud-based email service. There is a good chance that using the Flask-mail package may give you authentication and email credibility issues. This package works exceptionally well during testing, but on a live production server, receiving emails may fail. Thankfully, our current setup work find and you do not have to worry about this. I want to show you how you can configure an email service such as SendGrid to work with your new domain name.
136
+
If you are familiar with [Twilio Sendgrid](https://sendgrid.com/), you probably know that it is a cloud-based email service. There is a good chance that using the Flask-mail package may give you authentication and email credibility issues. This package works exceptionally well during testing, but on a live production server, receiving emails may fail. Thankfully, our current setup works fine and you do not have to worry about this. I want to show you how you can configure an email service such as SendGrid to work with your new domain name.
137
137
138
138
This section will show you how to **receive** emails within a Flask application. If you want to learn how you can **send** emails from a Python Flask application, you can check this [other comprehensive tutorial](/twilio_sendgrid.md) to learn more. I recommend that you begin with this tutorial before you can continue.
139
139
140
-
I need to authenticate my domain name with Twilio SendGrid so that the service can send and receive emails on my behalf. You can check the [Twilio SendGrid documentation](https://docs.sendgrid.com/ui/account-and-settings/how-to-set-up-domain-authentication) to learn more.
141
-
142
-
First, I need to [login](https://app.sendgrid.com/) to my SendGrid account. Once authenticated, check the sidebar on the left of the dashboard and click on "Settings". You will see a section called "Sender Authentication".
140
+
I need to authenticate my domain name with Twilio SendGrid so that the service can send and receive emails on my behalf. First, I need to [login](https://app.sendgrid.com/) to my SendGrid account. Once authenticated, check the sidebar on the left of the dashboard and click on "Settings". You will see a section called "Sender Authentication".
Click on this link to access the Sender Authentication page. There is a button called "Authenticate Your Domain".
147
145
148
146

149
147
150
-
There are several questions you will be asked. The first page has two questions. Unfortunately, Linode, my DNS provider, is not listed in the dropdown menu. I needed to click on "Other Hoste (Not Listed)" to provide the host name. I also allowed for link branding in this domain.
148
+
There are several questions you will be asked. The first page has two questions. Unfortunately, Linode, my DNS provider, is not listed in the dropdown menu. I needed to click on "Other Host (Not Listed)" to provide the host name. I also allowed for link branding in this domain.
151
149
152
150

153
151
154
-
Click on the "Next" button to continue. You will be required to update the domain name an email can be sent from. A nice little preview of the email is shown as you key in your domain name.
152
+
Click on the "Next" button to continue. You will be required to update the domain name from which an email can be sent. A nice little preview of the email is shown as you key in your domain name.
155
153
156
154

157
155
158
-
Finally, I will manually need to add the records seen in page 3 to my domain in Linode. There are five records that I need to add. These records need to be added to the CNAME section within Linode.
156
+
Finally, I will need to manually add the records seen in page 3 to my domain in Linode. There are five records that I need to add. These records need to be added to the CNAME section within Linode.
159
157
160
158

161
159
162
160
On my Linode domain, I will scroll down to the CNAME section, click on the "Add a CNAME Record" button, and add the above records.
163
161
164
162

165
163
166
-
Below is an example of the CNAME values under the HOST column as they are displayed and how you will need to enter them into your DNS management with one of these providers:
164
+
Below is an example of the CNAME values under the HOST column as they are displayed and how you will need to enter them into your DNS management with one of your providers:
167
165
168
166
- HOST/NAME `em123.yourdomain.com` . ENTER CNAME RECORD HOST/NAME AS: `em123`
169
167
- HOST/NAME `s1._domainkey.yourdomain.com` ENTER CNAME RECORD HOST/NAME AS: `s1._domainkey`
170
168
- HOST/NAME `s2._domainkey.yourdomain.com` ENTER CNAME RECORD HOST/NAME AS: `s2._domainkey`
It can take up to 48 hours for the records to verify after you upload them into your DNS host, so you will likely have to come back later to verify by clicking the "Verify" button. If you click verify, and only half of your CNAME records verify, this usually means that you need to wait a bit longer. It's also possible that you entered one of your records incorrectly.
Any time that you send an email with a FROM address whose domain matches the domain set in the domain authentication, SendGrid applies that domain to your email. You only need to update your domain authentication if you want to update the domain you are emailing from.
With the edits done in my evironment variables as seen on [the earlier mentioned tutorial](/twilio_sendgrid.md), everything should work just fine.
178
+
With the edits done in my evironment variables as seen on [the earlier mentioned tutorial](/twilio_sendgrid.md), everything should work just fine. You can check the [Twilio SendGrid documentation](https://docs.sendgrid.com/ui/account-and-settings/how-to-set-up-domain-authentication) to learn more.
0 commit comments