# Hostname for your discourse ? (example.discourse.com)

**URL:** https://meta.discourse.org/t/hostname-for-your-discourse-example-discourse-com/150990
**Category:** Self-hosting
**Created:** [May 10, 2020, 10:12pm UTC](https://meta.discourse.org/t/hostname-for-your-discourse-example-discourse-com/150990 "2020-05-10T22:12:24Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![ashishprajapati](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ashishprajapati/32/179871_2.png) [@ashishprajapati](https://meta.discourse.org/u/ashishprajapati)
#### Post date: [May 11, 2020, 12:25am UTC](https://meta.discourse.org/t/hostname-for-your-discourse-example-discourse-com/150990/13 "2020-05-11T00:25:58Z")

</div>

> [@Walid\_Riachy](#):
>
> i have setup these name servers in my domain, is that the only thing i have to do ? name cheap support asked me to ask digital ocean if it is possible to connect the domain name with their service with the help of host records.
> 
> when im visiting my website im still having the same page redirected to name cheap saying this domain was purchased

That was not mandatory to map your **DNS Name Servers** to **Digital Ocean**. You were only require to add the IP address of your Digital Ocean server in the **A** record of domain. ( I mentioned that in the earlier thread )

**Like this:** - That was only required to do.

```plaintext
A Record | @ | 11.22.33.44

```

FYI: 11.22.33.44 is an example IP Adress. There should be simillar public IP address of your server.

**[FOLLOW THIS NOW]**  
As you now mapped your Domain Name Servers to Digital Ocean, Please go to the **control panel** of the **Digital Ocean**. and

- Go to Networking \> Domains
- Add a new domain
- Go to Networking and click on your domain name
- Create a new A record for the domain. Digital Ocean will provide you the option to select the **DROPLET’s IP** ( So you don’t need to worry of entering it yourself. )

**Now, you are done** 👏

**Please have a look here for more information:**

> [@Configure your domain name for hosted Discourse](https://meta.discourse.org/t/configure-your-domain-name-for-hosted-discourse/21827):
>
> bookmark This guide explains how to configure a custom domain name for a site hosted by Discourse. This option is available for our Pro, Business, and Enterprise plans. person_raising_hand Required user level: Administrator So you’ve selected a hosted Discourse plan. Lucky you! The very first step is to point your domain name forum.example.com to our hosting. You will need to edit the DNS records for your domain name, example.com. In most cases, the DNS is controlled from the sa…

[https://top5hosting.co.uk/blog/uk-hosting/361-connecting-a-godaddy-domain-with-digitalocean-droplet-step-by-step-guide-with-images](https://top5hosting.co.uk/blog/uk-hosting/361-connecting-a-godaddy-domain-with-digitalocean-droplet-step-by-step-guide-with-images)

---

_[View the full topic](https://meta.discourse.org/t/hostname-for-your-discourse-example-discourse-com/150990)._
