Home » How to Connect a Domain Name to a Website Hosted on AWS EC2

How to Connect a Domain Name to a Website Hosted on AWS EC2

by Icecream
0 comment

You might wish to host your web site on a digital non-public server or a digital machine like AWS EC2. But it may be a problem to attach a site identify that you just bought from suppliers like Namecheap or Godaddy.

But if the steps to observe, this does not should be tough.

In this put up, I’ll break the entire technique of connecting a site identify to an internet site hosted on EC2 down. I’ll present you do it virtually with screenshots guiding you thru each step. I’ll be utilizing a Namecheap area on this instance.

There are 4 main steps that you will have to observe, and it should not be too tough should you observe the dialogue on this tutorial. Here they’re:

Let’s get began.

Step 1: How to Set Up Your Website on EC2

First, go to https://aws.amazon.com/console/. Click on the check in button on the high proper nook or the Log again in button within the center.

1P8t02v71WBoFie3Noxs-9-32Ckege-I36ZM4vpfsXqBiSrJTeOgvOA2F9FCTPBTFo4fkWUhwxCDIXAiB2ZTyPgRXqJpyYOGIv7EhV2AS01LnsMilBBCgvgYwKxVauR70bKfIQ3FVFD7JrrPwW_9A94
AWS Management Console

Create an account should you don’t have already got one. Otherwise check in together with your credentials.

_4dJQGRVfyRepII17I6GGUmpHiEJ_YShtzztq9SBMPS8GIqk79HdS_678Cue6g7Ws06LlV28ity_Nqjwk8QJkF3SZOUgSdImmdTbOhfvpUWXZ4foziwGLkwtL1NJdTfiHnje9k9GwugtjxGRP2b14fU
User Login Page

After logging in, you’ll be redirected to the principle dashboard.

1ten0edaOEW9fyi94wZJDYLAO4iwjMOxpR9iVX9Q-52fnDO8_W2zq85Jm9y70K0Nm32twNDmEFmFjQ1FYUvkW7iqcfHpaeBCRSZqYWSIYouvkmgvScm4p15zeH6r6El_6S23mW_GBTCd-OQ3DC-FUs4
User Dashboard

In the search bar on the very high, you may seek for EC2 and click on on the primary possibility below Services.

wVnUvVADZoMmKBmWMTGjA79mBeSni4Ie7U6IuvatJNeglH1ss4-JPapyqWUNHuCTEmxHm4_Wl12jhL4Y7DbSmhO_HqFhLCRxxqfT9N_2K3o_0Sp5t_5xoAagztYd5ZXIoTX_qCZTTh07VA99E1pQRsE
Searching for EC2

This will then open the EC2 dashboard that provides you a abstract of all of the EC2 sources that you’re utilizing. If you aren’t utilizing any of them, then you’re more likely to discover that the worth for every will likely be zero.

G7PsvT8tE97xb4pp75H1Kmta3Jdv_A8xIWtAROQXz7vNNYQ2O6g8VliULPxLQmcGwOxf_BXcwE_QBrKtLVqdlM-8j5BSkJUzfGiI6NDBtCaAsyMRwxC7Oj_HEDkNt0_CcgEL-yOqgfPws1ZMs4PAutQ
EC2 Dashboard

Launching an EC2 occasion

Click on the Launch Instance button.

On the “Launch an occasion” web page, you’ll choose the specs for the digital machine meant to host your web site or internet utility. Initially, assign a reputation to your machine for straightforward identification..

For the sake of this instance, I used the identify “FC Web Server”.

PGh6o3yysjEl5xkqof7IvhE7Dg0eU6SWO9fmRaRY0sEUJoWLPiXcunxQQ4MI1Z_k1oaGbymInJLxTJv9l02pcmrfxi_YPjRZdPnW72PojjOTwqtihrtFVUwK5FZw-y_d1UyrdcjOafbr_KlIlKQkN_4
Naming your EC2 Instance

Choose the Amazon Machine Image (AMI) which represents the precise working system and purposes you wish to have by default in your digital machine if you boot it.

For the sake of this instance, I chosen Ubuntu, and I’m utilizing the Free tier eligible Ubuntu Server 22.04 LTS because the AMI. I left the structure at 64-bit (x86).

T2FD0Pwnrkni6FWDuK1P_NFgPVmoV63I9QRFFLPt6HijKo4MuBGZr8Kua4ELs8p9ThtDYOF4juugnrZOYi3G9Pq4u1GkF-V8ZJjUq3rj9zg1pCyAwJj-0L3-vi-CFs8G718iZlVFPgSzGsjOPY7G61Y
Choosing an Amazon Machine Image

For the occasion sort, you can too follow the Free tier eligible t2.micro – but when your app or web site requires extra sources, then you definately’ll have to decide on essentially the most applicable occasion primarily based on the variety of vCPU and reminiscence required.

L-syY4yUQNlpzBn_3EchnBFOPzCcVs_6yOgtdjljp05Gn6cTr0XLONAiDY_nNuILJq4tV2y5yug6IJdEagCu599FanEYkrV9QrKwbwpxqAD0EOGpZJcDQob1A99y3E977vV7BaY1m9oBxLyfA79YJ5A
Choosing the occasion sort

To securely connect with your digital machine, you will have an SSH key pair. Go forward and click on on the Create new key pair hyperlink below the Key pair part should you don’t have already got an present key pair that you need to use.

35slbh7seL4zxMwSnR4ZrZPddFJ0yAOxvJIPatukKXAb0wIbuJ9wfOWRdbGHSFJRaMUsSiCV0-d-NiZqMe0gQVppGCU4WbMyN33XcrOvnwmXtf1ZEeMYJhyAAugpcawQ7jz2zuwiX6Yiyy7_xwOLOH0
Creating a key pair

Give your key pair a reputation you can simply establish. Set the important thing pair sort to RSA and the non-public key file format to .pem. You can even use .ppk in case you are in a home windows surroundings and know use PuTTY.

Click the Create key pair button. After clicking it, the file will mechanically be downloaded. Make positive you retain this file in a secured place.

Move on to the Network settings. You have to arrange a firewall that controls the varied protocols by way of which your web site or internet app may be accessed. For the sake of this instance, you may select Create safety group and permit SSH, HTTPS, and HTTP.

You can depart the IP deal with at Anywhere 0.0.0.0/0.

pmqY3ZoEQF7G0EcQPi49Ik6LjrwM3AkK3k2pgXbC4YpEn61ISeXjZID3l2cIK2cyNMrRKSTksLtRNeOZQ4zRyTAyKHZcxattdNOgY5bLunSvKzMJI8gaDovxxYKz6yKc-LXPPwVrG3xtc_SxjhLXMoY
Network settings to your occasion

Finally, it’s essential to configure the storage choices. You can even go along with the default 8GiB gp2. You can ignore the extra particulars and click on on the Launch occasion button.

og9GB9frMs-IFbrDxUhwS5FXefMLDISspiJCMhskzN0nX9JVabNKbo-VWw-HQ1q9Tq7_ONdQRGAzbttG_nbEuWihA2mjVX-BZNFOL32pEyzz0JNUR6ESr3-M8TWwckI7IfslpirqkXKULWg06Ag7ssI
Storage configuration to your occasion

After the occasion has efficiently be launched, you’ll get successful message.

qNgmnZI1S2YUOoSc6Pv92rlo40HDxFquPmXOP_1Qdqx103KxBfsSZyzw1Q6xDpy2J7q_3cIdXHpsGsa8B3NEeTYAaImUk31nf4M5DmgXeQouwYQKwDzo9YYWD9akS0tfv7xPHhbFeANXAfR4AXe041I
Success message after launching occasion

Connecting to an EC2 occasion

You’ve now created your digital machine – so it’s essential to connect with it and switch it on. You can do that by clicking on the Connect to occasion. You can even click on on  View all situations to see the occasion that you just created.

If you click on on view all situations, it’ll take you to this web page the place you see your occasion (see beneath). If you might have just one, then you will note one thing like what’s proven beneath. But when you have different situations, then you will note all the situations created in that very same AWS area.

kKXsADE-G5yS_Z0EKK6KQx7QviZnJrrhAyorzGJC6DPPH53aXcVWmxW_AjvpfwrAtYNzIS6JF3uKySS2R3ehgQGxKmCFL-lGAqtCSsA9sB95HIr15XP3gVCb9hNcU9ca8nZX_ocgmNGpWhCSt_a5LfE
List of EC2 situations launched

Select the precise occasion that you just simply created and click on the Actions dropdown on the high proper aspect. You can then click on on Connect from the dropdown menu.

HlYh7FNpoUi-BvMCg_J9hANAg9w0HWoISqCquGaJ5agnv5a6fpkG29qqpPsh8D47ntjd35TZY5e6FyQF2SxzQ4VmsBoY2uFigDIXsl-zy7xWAP6d-g92s-uDyqk1NITQ3c6hnax5hWx87dOS-IZ6FUQ
Connecting to the chosen occasion

The third manner that you would have used to succeed in the connect with occasion web page is to click on on the Instance ID from the record of situations. It takes you to the occasion web page with particulars about your chosen occasion. You will then discover a Connect button on the high proper aspect.

TjXw51BB3V9HLxnXsKszZUyIRNzAwa_GvobWLHxPzYf0QnrzCLofCa8TGVspGR5NpfDniXSiiYkEtxpmsAkHHlz8XXVdqZhd_Xn5H3gaVkECfHCFAWmbA23Ni8-GUTrYzwk0tGKfgW28xJt9SFckaOM
Details in regards to the chosen occasion

On the Connect to occasion web page, you’re offered with a number of choices to hook up with your occasion. For the sake of this instance, you need to use EC2 Instance Connect. This possibility will assist you to connect with your digital machine by way of the browser. You can follow the default values and click on the Connect button.

SjIELpNqBcMXahNHK_dJx3Jhky8CdXxr0kbdhOpWqQZ-nM3BLEQ9A8uGv4Uh-alBNA5aYWDuXOGEw_MS48VM3InAQQJquHHvq2yl7FYlk98GDy0QDd0a9LFaGENVUMM9Sucz7Rc1ti6LjeZuKPTsLGw
Options to hook up with the occasion

This opens up a terminal within the browser. This is your digital machine. Remember that you just put in Ubuntu so now you might have entry to an Ubuntu machine with all of the specs you chose.

KdV49cJVMg2EEVOdVkhZNWbG9qtA2u0H3OahaZDCnkoTcgjnZBuI4ZWY_GQKG1o_fbUkocBljYl8RB2LbVG969eq6az-R8csZEXAIxo74mv-1frHdrE_pAwwwHsa4CCHz1eM2rHynGX6NeFAtgineEg
Ubuntu terminal opened within the browser

It is now time so that you can set up NGINX. Follow the steps beneath to put in NGINX in your occasion.

Update your bundle record

Use this command to replace your bundle lists:

sudo apt replace

cnk6SxfwNaz-dsEUd1C3AcaM1Ueh-GGTRCRTEoRNDYKIs_Gp2bU1JwsBwLzd05mwGLrDjVscZuWq2mu-6CU0Ch5Tx7TQ0rraMc3_BVUIGtBH8jjsQcH7FlkYR5vRBQ33jvUVc6bIIQ5RHAkY24bHyQg
Updating the bundle record

Install NGINX

Use this command to put in NGINX:

sudo apt set up nginx -y

5xyqlguhGA2pCjltDJXeLFKNsm-HaKTlDab6QjmlucpBWRLGdEbjoFg5_5FJ3xV73s047_ycOX59A7Yphq4xyKBZmcv1NfWySx3G6nqi6a8e2XgQutrJBWazwR4UlYi9CA49c-8TL2-7E7PVRml6h38
Installing NGINX

Once the set up is finished, you may entry the default web page for NGINX by coming into the general public IP deal with of your occasion within the deal with bar of your browser.

To discover the general public IP, you may test the underside of your terminal or go to the occasion web page and search for Public IPv4 deal with.

hYkF9Fvl2yc-W6kR5XWQWGTnEINJbEdj3k9_SQZUGcdb_MQ3MgQ6fKOh791HgxEdDXC28g2Mazk04n-JsM1xwT2TttF5u_vZQqp5aUD963ZzKelbImsPqW_1ePkI0FNFH-mPT0QC3CWhzgYxQZxLmos
Public IP deal with of the occasion from beneath the terminal
86hZhXn99AFBdk-gZ6fqa-yLLzJqqAASd43rL0zM-kD0ZflQJ_65yP4s4bSKcxYFvaPiLThaX948B8Q12iQrmeQw8rwkbCwrhP-RdWdU2ZOhUz1OVTTHr7BbEYFxDtX_Obpfj7rqHhzAjgqntzW0s4g
Public IP deal with of the occasion from the main points web page

You ought to get the default web page open in your browser like proven beneath:

JZPEFIWMHIUAWSURn80p-AEYsWukl-W5Um2YZ9ce5d4Ox9H8UQozMnYCltaLTBfbzl_tvmZ3Fn6tJEO_VOv-_1ne7F8ElYIUexdg9I7JgySqSmI2yo0b2fmT0zJYxHArDYxY39LTsmDrRbmG6M5ZKsQ
Default web page for NGINX internet server

NB: You might should refresh the web page for it to work.

For the subsequent set of steps to arrange your web site or internet app, it’ll rely upon the programming language or framework that you just used. But since this tutorial is concentrated on connecting a site identify to your EC2, you may proceed with the subsequent steps for connecting the area.

m9xoyqffR1ExdcIcXO7Ir5owVxyZgVP3z1iPaG_ISKUyIn6nwlCP_sJH-Yn6y64ZytEQkS0hLMXTirDdwHzAHnUrr0j8H4vj8v-2i1KATd7cDf7r8d47siBIEET12RKg68Q183mrw3XmXFnQG0l4gxE
Default web page of NGINX

Working from this picture, let’s now join our area identify to this web site. As you may see within the picture above, I’m accessing it with the general public IP deal with of the EC2 occasion.

To join the web site with a site identify merely means to exchange its IP deal with with a extra memorable identify. In our case, I will likely be changing it with the area identify krachy.com.

Step 2: How to Set Up Route 53 for DNS Management

AWS offers a service known as Route 53 that you need to use for DNS (Domain Name Service) administration. So now, we have to arrange this service to handle the area that you just bought.

I’ve my area with Namecheap, however the course of will likely be related for nearly each different area retailing firm.

First, you may have to create a hosted zone in Route 53.

XVis1IAhzZ3CdJiDBOu9NXc66ER63DSDgfuWLL-zqiJStnsjEa0COfK-EtuKYnpjBr6gOouLcAYDQlhcrRX1YNIFbNk4qyzYIuLHqJ2Y3f1zo4Rz7OI0lv-MI2Z6g_AMvgoCcjY-5zNYernNhhCoUv0
Amazon Route 53

Creating a hosted zone in Route53

To try this, click on on the orange Get began button. It takes you to the subsequent web page, as proven beneath.

2ZJ658N8zV3L9UjxrRDqmAUSF-6se1J6yc0qBRO_tsATMijkY3k7cWc5D2TFIiC_PHLOEvukyQnVo5vJi7mQQq19y1bNJCeeYsvBQ_Of5RrfL7tjRfWYOfaPzRtjKiEKnENyU48ZxQeXr63R4IY9mU4
Getting began choices for Route 53

Choose Create hosted zones and click on the Get began button. Go forward and fill out the main points on the subsequent web page.

ibfwFdt41BH4rgMKJ44-4qmcF-xUTePMD6WL7Q341AzcBM6KWUtrwvGAavwuZmEWNeImMVuPLQfRsfkaMKjiDSpfA1r5IRQEXo1crcbZL33vpNCH8hrbYetMUCuFYsTOXZrU18fe-H3NR_BCNdpdE3g
Hosted zone configuration
-UmPq2sd9RuiNkRxwC545W0iXzSnofRok4d3XVJ4yMoxP4j7jM_WQp2FzUeptBEmlFknPgeB4DY3EjDUtlu-dGgwfLK-bCyCtHv4DyUxYHXWOYKv9V1M3Z-oyPrcJDKXULWPxFi7WTmkjWUsXi8oTwY
Providing particulars for hosted zone

Provide the area identify that you just wish to connect with the EC2 occasion after which give it an outline that can make it simpler so that you can distinguish this hosted zone from any others you could have. Choose Public hosted zone because you need your web site to be accessible to the general public.

Click the orange Create hosted zone button.

A4_iFzOVyOTal9QBXCCVAaI56OaNs-Z9yQfZKqDWzSbMj1sE953_z3kUi9v_L8hq25FBjgt-MolYw0pANYVsawS4oek9KkJpJikW6XWmDsaxEr2-XaPi_Um2Zl58MdNrsuw5CFKvFolNSxieIlduwnE
Success message for the hosted zone

You’ll get a inexperienced success message exhibiting that you’ve efficiently created the hosted zone.

Adding data to the created Hosted Zone

From the screenshot above, you may see that Route 53 mechanically created two data for us: the NS (Name Server) and the SOA (Start of Authority) data. The NS document is what you will have for pointing your area to this service. But earlier than you seize these, you might have a few issues to do right here.

Because our web site is being hosted on an EC2 occasion which may be accessed by way of its public IP deal with, it’s essential to create an A document for it. Also simply so you make sure that individuals who strive accessing your web site with the www subdomain are nonetheless capable of entry it, additionally, you will want so as to add one other document with an alias for it.

To try this, begin by clicking the orange Create document button, as you may see within the screenshot beneath:

0Sb2ip2tg_IvOAaumH1KB4V8d6XPFtBk9s1lBJ1lyTXHnia3kCe5VicjCqd-D1VX14fpGSoJp0GlskDDxtgOb8ztgFrGXJP_cHQgomH114x85tXrxQEC177Yn8pUsz3XghjBPc_OTRoUiBcuDA-500I
Adding an A document

For the A document, do not put something within the subdomain enter field. Under Record sort, ensure A – Routes visitors to an IPv4 deal with and a few AWS sources is chosen. Then paste or sort the general public IP of your EC2 occasion within the textarea for Value.

You can depart every thing as default (NB: Check to make sure that the Routing coverage is Simple routing).

To get the IP deal with, go to the occasion that you’re utilizing and search for the Public IPv4 deal with and duplicate that.

m1uIxp03So9xxaiE-YvmS9Px93lq48sMG0V6ZA84MmNsjHHn6eQZW6SyWN1nvacKelmqboYRG-RSJzViGtmJ1M9YOI8iX8dnmEKPiioPZhfE5sf65WhGHCfukTVY8OjfUvlNYpEgm-EF53AWwBigGXw
IP deal with from occasion particulars web page

It ought to now appear to be what’s proven beneath (the place 18.232.109.18 is the general public IP for my occasion). Afterwards, click on the orange Create data button within the backside proper nook.

5oj2JsQt_YRKWqDSbINcSWbnK5ON3T1u49MI9TyYqhuSMkcaJ3SU__aYJjh7cc7730OVsIDVRC9WMiWzEshiDkYl1NIJ8cb6sdYmHQuvW9Y7kcYarxdBk-BcZ91zPHKyZkFIpWBJCZ4aI_ouyPWx374
Completing the A Record creation

You ought to see successful message. Also, that the document will now be added to the data desk that you just noticed earlier, as proven beneath:

DlR8djeTU_JtBEWHJIbwxfhxHzI_ubQl5Bfx2X6f3qlpnDwr3R_xs1YuZN_2donh4sH8KTG1PRWicd7wjzLLcjjoRcdTOHENhKGpvcNDEecudxvYC3JAhCvvEh6rmgBOVKDAkF_rZWZrbyP61dV0SkI
Success message after creating the document

You nonetheless have so as to add the document to cater to the attainable use of www when reaching your web site. Click the Create document button so as to add that document. This time round, you’ll put www into the subdomain enter field.

4JBcC8FFtVm9GLd3hl0wm3PptwXgpaySUlxdw2g1vWnu0g3jote---0v5MxLVTz6Ypj3yjAEngPx4XfUDgJ2-uShQiY5z8sKTI0yLiCJLH4saASR5xdwxLXSKyxzySYGBrgWa_E3LsdVBruMJ9dSIr8
Adding A document to deal with the usage of www

Also, you will have to activate Alias which is beneath the Record identify. After turning it on, a brand new set of choices (Route visitors to) will likely be made obtainable.

xd5aFDvaDaCl6i4ZV-8ZHhmRTBcE8UDLjTe9N1p6ffOhRYFZuAt2ElEAGyXV4piLPk8pJD3e_uS-3MXBZDU5nN1n4XWHd9k49HYkrGeiZMtQl4935dhvhjzgC2wgS2tIpNSs4HARQ5Dl5hVZvZ6h1SY
Turning on the Alias for the document

For the Choose endpoint dropdown, choose Alias to a different document on this hosted zone and the Region will mechanically be populated for you. But it additionally brings up one other subject labeled Choose document.

tzVQSFj6MyEhnT-7p_310X_DgbuucKT3BqKmbgIUqihIAfdiFvJw83HTlpG8mGVdhOFjyCOn0lFSkFFlgdk2sQH9aE6fINs29BoyPZs35uZwbP-p76mGU9cFGBnqFmHNVVaRWJd-G2MxTGRBldM4TMA
Select an possibility for “Route visitors to”

Go forward and click on throughout the Choose document subject and it’ll recommend your area identify for you. Go forward and choose it.

cCGijn9B6_j8BtxIs-zncIDZyRoRsb66JdeLPJv4-RgSNlbT8aZr6CELWboC7zYfuspwoRE3bhlOKvCeZ4RFESKzmA47SoYTX5N9119kdA9QxC6gw2e2895IK3Vlo5tWwyOs62zYESw22keeTWs3nU4
Associate area with document

Now you’re prepared so as to add this document too so proceed to click on the Create data button. You will get successful message and see that the brand new document has been added to the data desk.

2SmlaORdC9UHuNL_FDJxTKNUBTqfRloS3jK1TtB4N_mzfVIWwXI-N33kd2qizIGlUGvuGm1lvBUdMj3T99BnG6t-AcOiZd2mQk-dnBY-i2rLr7OWVwwO8VaEauOLsIpk2r7pqQFujv5OWw_dIzjC0DY
Success message after including new document

Once you’re executed organising the data, now you can proceed to replace your identify servers with our Domain retailing firm (NameLow-cost in my case).

Step 3: Update Nameservers with Your Domain Provider

If you have already got an account with a site supplier, then log in to your account. But if not, then you definately’ll want to enroll with one to buy a brand new area.

Personally, I exploit Namecheap for many of my domains. So, I will likely be exhibiting get this executed with Namecheap (however once more, it will likely be related for varied Domain suppliers).

Note that I have already got a site identify, and for any area that you just buy you’ll have some default nameservers. Your aim right here is to alter the default nameservers or no matter your nameservers at present are to those which Route 53 offers you.

Changing nameservers in Namecheap

Lkdxzcd7dt-85SamUv4R2c1OI0UY9W3zAqqlXljpI6x4ywSlFUxbPJ-y1F3CGHlxW6Laz55IaS542jSeZuo3uc_gQqsMEL4ysQEK4pR3i6Ig81GXXNjCB0uuqlWyrufEEGjYbMYvqIbT-4lbkeu72Qs
Namecheap person Dashboard

Click on the Domain record to see an inventory of all of the domains that you’ve in that account. Look for the precise area that you’ve.

4eSm_L1erf8ma66aZNKJCQtFCjIgJgQ0i7mx013PJ6ZRZU-zp2gHOltqYrZFaworF9-sUGE5iW07joLUw4rlUnPx7aUiCdyxDCljZtFv7l5C5HViYdZh-my2aOXji55OaIwG2m7_anaUs1XPS-aR3fg
Domain record

Next to every area identify, you can see the Manage button. Click the respective one for the area that you’re utilizing (krachy.com in my case).

sTT4r41ZnwwtG9FURnWSo4SDEvhhuiXXfhDrJDgSxg26Jk2VmWhLMkL-SWhQJ9b84l88LsPf-ywDaxnWpbI7VD44tl3Kprau26EoTzRRfo2cdcRPSxvqAnFCyGqnmQrMgrJ-zgXl-o6r_QBMxPRHgVc
Detail web page for chosen area

Under Nameservers, be sure to have chosen Custom DNS. Then return to Route 53 and duplicate the nameservers that you just have been supplied with. Then delete what you at present have and add what you get from Route 53.

In my case, Route 53 gave me 4 completely different Nameservers. So I’ve to repeat them one after the opposite and add them to Namecheap (bear in mind to delete any previous ones that have been within the area supplier account).

vq9KwsyF13Tmt00vHzDIkIMU47h_5EzB4CaXFUhrvjpIJqpWCI8qOcmXEkdqJS92d6up3nvVYq78gSE-4SHMATFxJWSNQJvdhZZW-SUh4tAOi4llNRIJwy4_Kj5qRhhuHHth1mDpQS08gTu_R-OcjGg
Nameservers for the area identify

In Namecheap, they supply two areas for the nameservers – however there’s a button just under that allows you to add greater than 2. In my case, I added all 4 of them as you may see beneath:

Bunq4l59Hm7HzrnOzqDwU1YesduGAhxdlpuOYVp8290Mc30rY3z3iwSg0D6LCra4t2JJ2ysGEWqdIdDA18YfGIEvdpWNMFuGkKF7k9RAJ-v-A1Z678QfdVJqv4GZUsDP9cjZnt6eNmlOoGFk4XpaPKg
Updating nameservers

Also, after including them, it’s essential to settle for the modifications and save them. In the screenshot above, you may see that on the far proper of Custom DNS is a test mark and an x mark. Click on the test mark to save lots of the modifications.

After saving, you’ll discover that these buttons are now not obtainable.

7xuh7yPSzecl12m5BCblDIWBcXo27f5dqPK6huZpGLvZ-R2gH3wTYHaWCl02X3xTZLBAKWbNvGyyIPn4pkaMMQv6xO9nORX-BDZw21k_0hwVx4L8rSXYq0UuzTPTnhuSIFNLhbgWpl63BxXubJf5yDk
Nameservers up to date on Namecheap

Step 4: DNS Propagation

Congratulations, you are actually executed with the arrange. Now you simply want to attend for the DNS propagation to be accomplished.

This step doesn’t contain you taking any motion, however simply ready for a few minutes. The propagation can take wherever from a few minutes to greater than 24 hours.

But after a short time, simply enter your area identify in your browser’s deal with bar and see if it reveals the web site that you’ve hosted on the EC2 occasion.

Once the DNS propagation goes by way of, your web site will likely be reside on the area identify that you just used. Congratulations as soon as once more!

UOIjgyUqN4-DGBvTfLscjsnulDkapBsOvEfga7m-NkEkp8CriJfXEL-w1a6ZdlqIOc_ebkK1NLQm7H-tZDIOEMhcj3_cWfEUPLXjyob7aq4bU19qyN3lWHlL60G1pCH_AdrydjUE1KiZPC4gHCwwvQw
Website linked to area after DNS propagation

As you may see, this is identical interface that I began with – however the excellent news is that now, I accessed it with the area identify I bought and never the IP deal with of the occasion.

Wrapping Up

Even although you’re executed, you’re at present utilizing a non-secured switch protocol (http) to your web site. This is as a result of you have not but put in an SSL certificates in your web site.

Watch out for my subsequent tutorial the place I stroll you thru set up SSL in your area to make it safe (https).

You may also like

Leave a Comment