mirror of
https://github.com/playit-cloud/support-docs.git
synced 2024-11-25 04:26:26 +00:00
91 lines
3.2 KiB
Markdown
91 lines
3.2 KiB
Markdown
+++
|
|
title = "Add an external domain with Namecheap"
|
|
tags = ["external-domain"]
|
|
+++
|
|
|
|
This guide assumes you have [playit premium](https://playit.gg/account/billing/shop/premium) and have purchased a domain name on [https://namecheap.com](namecheap.com). For other Domain Registars visit {{< link "add-external-domain" >}}.
|
|
|
|
|
|
* [Adding a second level domain (like example.com)](#adding-a-second-level-domain-to-playitgg-like-examplecom)
|
|
* [Adding a sub domain (like sub.example.com)](#adding-a-sub-domain-to-playitgg-like-subexamplecom)
|
|
|
|
|
|
# Adding a second level domain to playit.gg (like example.com)
|
|
|
|
In this guide I will be adding the domain `olumpu.com` to playit.gg, your domain will be different.
|
|
|
|
## 1. Visit your domain's managemnet page
|
|
|
|
Visit your namecheap dashboard to enter your domain's manage page.
|
|
|
|
![manage domain]({{< static "post-img/namcheap-manage-domain.png" >}})
|
|
|
|
|
|
## 2. Use Custom DNS under the Nameservers section
|
|
|
|
Find the section titled **NAMESERVERS** and select **Custom DNS**.
|
|
|
|
![namecheap nameservers custom dns]({{< static "post-img/namecheap-nameservers-custom-dns.png" >}})
|
|
|
|
## 3. Enter playit's DNS nameservers
|
|
|
|
On the provided lines, add the following name servers
|
|
|
|
```
|
|
ns1.playit-dns.com
|
|
ns2.playit-dns.com
|
|
```
|
|
|
|
and press the green checkmark to save your changes.
|
|
|
|
![manage domain]({{< static "post-img/namecheap-custom-dns-playit.png" >}})
|
|
|
|
|
|
## 4. Add your external domain to playit.gg
|
|
|
|
Visit [https://playit.gg/account/settings/domains/add-external](https://playit.gg/account/settings/domains/add-external) to add your external domain.
|
|
|
|
Make sure the domain name you enter matches the domain name that you updated on Namecheap. In this example it is `olumpu.com`. For you it will be different.
|
|
|
|
![playit add external domain]({{< static "post-img/playit-add-external-domain.png" >}})
|
|
|
|
You're done! You can now assign your domain to your tunnel.
|
|
|
|
![playit domain added]({{< static "post-img/playit-domain-added.png" >}})
|
|
|
|
---
|
|
|
|
# Adding a sub domain to playit.gg (like sub.example.com)
|
|
|
|
Instead of adding our entire `olumpu.com` domain to playit.gg, we will instead the sub domain `playit.olumpu.com`.
|
|
|
|
## 1. Visit your domain's managemnet page
|
|
|
|
Visit your namecheap dashboard to enter your domain's manage page.
|
|
|
|
![manage domain]({{< static "post-img/namcheap-manage-domain.png" >}})
|
|
|
|
## 2. Go to the DNS settings for the domain
|
|
|
|
![domain settings]({{< static "post-img/namecheap-domain-settings.png" >}})
|
|
|
|
## 3. Add a new record
|
|
|
|
* For **Type**, select: `NS Record`.
|
|
* For **Host**, enter the sub domain you want. Here we'll add `"playit"` for `"playit.olumpu.com"`. This can be whatever you want.
|
|
* For **Value**, enter `ns1.playit-dns.com`.
|
|
|
|
Then press the green checkmark to save the record.
|
|
|
|
![namecheap add ns record]({{< static "post-img/namecheap-add-ns-record.png" >}})
|
|
|
|
|
|
## 4. Add your external sub domain to playit.gg
|
|
|
|
Visit [https://playit.gg/account/settings/domains/add-external](https://playit.gg/account/settings/domains/add-external) to add your external domain.
|
|
|
|
Make sure you enter your sub domain. In our case this will be `playit.olumpu.com`.
|
|
|
|
![playit add sub domain]({{< static "post-img/playit-add-sub-domain.png" >}})
|
|
|
|
After adding your domain, you should be all set. |