Sitemap
Jeff P

Jeff P

I tend to write about anything I find interesting. There’s not much more to it than that really :-)

Building a website and app using AI

Part 2 — adding your domain to the website

4 min readJan 29, 2025

--

In this part we’ll go through setting up your domain name to point to the website. If you followed the steps in part 1, you’ll already have a purchased domain name and an email address. You can use other providers, but I tend to use Namecheap for domain registration and Zoho for email accounts.

We also hosted our website using Netlify, so we need to do some configuration in both Netlify and Namecheap to get our domain name pointing correctly, and we do this by updating our DNS records.

Head to the domains section of Netlify —

Press enter or click to view image in full size

Next add in the domain name you purchased and click verify:

Press enter or click to view image in full size

You can skip the part adding the optional DNS records for now. We will ned to add them, but first of all we want to get Namecheap pointing to Netlify, so just click on “Continue”.

Press enter or click to view image in full size

You’ll then be show the four Netlify DNS server address you’ll need for Namecheap:

Press enter or click to view image in full size

Head back to Namecheap….

Tip: Make a note of all the TXT values and MX values that we created in part 1 of this guide, and save them in a file as you’ll need to transfer all of these value across to Netlify.

Press enter or click to view image in full size

Once you’ve noted all the TXT and MX values, you’re now ready to point Namcheap to the Netlify DNS servers. Switch to the “Domain” tab in Namecheap and select “custom DNS”

Press enter or click to view image in full size

You’ll see there options to add in two Nameservers. We need to add all four of the ones Netlify provided us, so you can just click on “Add Nameserver” to add two more, and then click on the green tick mark.

Press enter or click to view image in full size

Now that Namecheap is pointing to Netlify, we need to setup all our TXT and MX records on Netlify.

Get Jeff P’s stories in your inbox

Join Medium for free to get updates from this writer.

Click on Add New Record…

Press enter or click to view image in full size

We’ll now add in all of those records we saved in our text file….

Press enter or click to view image in full size
Press enter or click to view image in full size

Once you’ve added them all in, head to sites to select your project…

Now click on domain management. This is where we assign the domain to a specifc project we’re hosting.

Press enter or click to view image in full size

Under production domains, click on “Add a domain”

Press enter or click to view image in full size

Add your domain. Youll then be returned to the page telling you that Netlify is awaiting DNS confirmation…

Press enter or click to view image in full size

This can take anywhere from 2 minutes to 2 hours, so you’ll need to be patient! Try refreshing the browser every now and again….

Eventually you’ll see a couple of green ticks (mine took around 10 minutes) and you can now type your domain into the browser and view your website!

Press enter or click to view image in full size

If this series gets enough interest, I’ll write up part 3, where we’ll work on creating a fully-functional web-app using AI, which can eventually be converted to an app for IOS App Store and Google Play Store using Ionic Capacitor.

--

--

Jeff P
Jeff P

Written by Jeff P

I tend to write about anything I find interesting. There’s not much more to it than that really :-)