Connecting your Vercel app to a GoDaddy Domain: A Step-by-Step Guide
Tags: devops, deploying, vercel, tutorial
Published: 2023-01-20 21:03:35

Deploying your app on Vercel is a straightforward process, and the platform has great documentation to guide you through configuring a custom domain. However, if you are not familiar with GoDaddy, connecting your deployed app to a GoDaddy domain can be a bit challenging. In this blog post, I will walk you through the steps of connecting your Vercel app to a GoDaddy domain, making the process easy and painless.

- **Deploying your app on Vercel**

If you don't have an account on vercel then signup for a free account. After signing up go to overview and click on Add New the button you then click on the project then connect your GitHub repo that you want to deploy on vercel and give it a name that you want after that vercel will handle everything for you. Vercel by default gives you a domain name related to the project that you finished deploying.

- After creating and deploying your project click on it. It will take you to the detail page of the project. Then click on the View Domain button.

![vercel project](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/83haw4skd396gkwkj34p.png)

- Add the domain that you have already purchased from Godaddy. 

![Domains](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nkogabmbcdn1k4lb9dsv.png)

- After you add the domain you are given this Invalid Configuration message and given the option to either configure your domain by A record or Nameservers (A Record method recommended). Choose which method you would like to configure your domain.

 
![Invalid configuration](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/yzohmeq7by03j8sqjg0h.png)

- Go to your GoDaddy account and navigate to the Domain portfolio. 

![godaddy portfolio](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/xjhycinv060d7fu1h4rr.png)

- Click on the lock icon in the third column. Enter the verification code in the field that you should have received from Godaddy. What this step will do is it will unlock your domain and make it available to connect to other platforms in our case Vercel.


![unlock domains](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/wc9wevyg9mtb5jygkand.png)


![verify identity](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/t5r9tb73mcjhw7hawpcj.png)

- The next step is to click on the three-dot icon in the fourth column which will open a menu. The options that we are concerned about are Edit DNS and Edit nameservers . We can use either one of these to configure our domain. I will walk you through both. 


![menu](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/2xw6yca1htfmksobs069.png)

**Edit DNS**

After clicking on the Edit DNS option you will be taken to the DNS Management page. You should be able to see different types of entries in the DNS Records table . We need to add the Vercel record info in this table.


![Edit DNS](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vmflvr6b8g99p42k0dr5.png)
After adding the record you might be prompted on vertical to remove an existing A record, which you should do.

**Nameservers**

You are provided the Vercel nameservers that you can use in GoDaddy.


![Nameservers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/g43o0ui5spsqm1jqt3yn.png)

Now you need to replace Godaddy nameservers with vercel nameservers and then Godaddy will send you an email to verify your action. After you verify these changes will reflect.


![edit nameservers](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/bpotpkixl209sxmhqky5.png)


- Once the configuration is set up correctly, you will no longer see the invalid message instead, you will see Valid Configuration and the redirect to your domain. 

![result](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/6qmoa74b152p5vmhxz63.png)

In conclusion, connecting your Vercel app to a GoDaddy domain can be a bit challenging, but with this guide, I hope you found the process easy and painless. By following the steps outlined in this blog post, you will be able to successfully connect your Vercel app to your GoDaddy domain, and enjoy the benefits of using Vercel as your app's hosting platform. Happy deploying!