mirror of
https://github.com/playit-cloud/support-docs.git
synced 2025-10-13 22:04:54 +00:00
87 lines
3.0 KiB
Markdown
87 lines
3.0 KiB
Markdown
+++
|
|
title = "Add an external domain with Porkbun"
|
|
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://porkbun.com](porkbun.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 management page
|
|
|
|
Visit Porkbun's [domains dashboard](https://porkbun.com/account/domains)
|
|
|
|

|
|
|
|
|
|
## 2. DNS under the Nameservers section
|
|
|
|
Find the button titled **NS** and press it.
|
|
|
|
|
|
## 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 blue Submit button to save your changes.
|
|
|
|

|
|
|
|
|
|
## 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 Porkbun. In this example it is `olumpu.com`. For you it will be different.
|
|
|
|

|
|
|
|
You're done! You can now assign your domain to your tunnel.
|
|
|
|

|
|
|
|
---
|
|
|
|
# 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 management page
|
|
|
|
Visit Porkbun's [domains dashboard](https://porkbun.com/account/domains) and press on the "dns" button
|
|
|
|

|
|
|
|
## 2. Add a new record
|
|
|
|
* For **Type**, select: `NS`.
|
|
* For **Host**, enter the sub domain you want. Here we'll add `"playit"` for `"playit.olumpu.com"`. This can be whatever you want.
|
|
* For **Answer/Value**, enter `ns1.playit-dns.com`.
|
|
* For **TTL**, leave it as the default
|
|
|
|
Then press the Add button to save the record.
|
|
|
|

|
|
|
|
|
|
## 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`.
|
|
|
|

|
|
|
|
After adding your domain, you should be all set. |