# How to setup custom domain

### Namecheap

1. Sign in to your Namecheap account
    
2. Select **Domain List** from the left sidebar and click on the **Manage** button next to your domain
    
    ![](https://Namecheap.simplekb.com/SiteContents/2-7C22D5236A4543EB827F3BD8936E153E/media/nctutmanage.png align="center")
    
3. Navigate to the **Advanced DNS** tab at the top of the page
    
    ![](https://namecheap.simplekb.com/SiteContents/2-7C22D5236A4543EB827F3BD8936E153E/media/advanced_dns.png align="center")
    
4. Select all the records and delete all the existing records
    
5. Find the **Host records** section and click on the **Add New Record** button
    
    ![](https://namecheap.simplekb.com/SiteContents/2-7C22D5236A4543EB827F3BD8936E153E/media/addnewrecord.png align="center")
    
6. You need to add two records with below configuration. The first record is to point your root domain and the second record is to point your **www** subdomain.
    
      
    **Type** - A Record
    
    **HOST** - @
    
    **IP Address -** 165.22.15.149
    
    Note - **@** is used to point a **root domain** (yourdomain.com)
    
    **Type** - A Record
    
    **HOST** - www
    
    **IP Address -** 165.22.15.149
    
    Note - **www** - is entered when it is needed to point to www.yourdomain.com
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1707656116719/5405b42e-a6cb-4d54-8c14-471ff02133fe.png align="center")
    
7. Login to your **uncody** account and head over to **custom domain** settings
    
8. In your custom domain settings enter your domain name without the **www**
    
    Then click on **Publish** button to publish your page.
    
    ![](https://cdn.hashnode.com/res/hashnode/image/upload/v1707656969140/2a797728-3179-435d-bfa7-7f47685f619e.png align="center")
    
9. Visit **https://yourdomain.com** from your browser address bar and verify your website is accessible.
    
    Note - Dns propagation sometimes takes **24-48 hours**, so your website may not be instantly accessible on your custom domain. Please wait for specified time and check later.
