Pinggy uses CNAME
records to configure custom domains. But most DNS servers do not allow setting CNAME records for the root domains, such as mysite.com
. Therefore, we provide a relay based configuration for such base domains.
Note: Custom domains set up using relays will work for HTTP(S), TLS, and TCP tunnels. However, you will not be able to use your custom domain for UDP tunnels. You can still use the persistent subdomain.
This guide assumes that you own a domain name such as example.com
.
We also require you to be able to manage the DNS records for this domain.
In case you do not own a domain and wish to buy one, you can get one from any popular domain name provider such as GoDaddy, Namecheap, etc.
Once you have upgraded to Pinggy Pro, log in to Pinggy Dashboard -> Custom Domains.
example.com
. Then press the Update button.TXT
record configuration instructions, such as:
Add a
TXT
record toexample.com
with the valueAWkoZorpwIPDzKB6YMCdycS5bJpa78IFDklUmGq
and then click Validate.
NOTE: If you use a subdomain, such as
app.example.com
, instead ofexample.com
, then you will be guided through a CNAME setup process. Click here to read about the CNAME setup process.
Follow the given instructions to set the TXT
record.
For example, for the above example, you need to set the TXT
record for example.com
with the value AWkoZorpwIPDzKB6YMCdycS5bJpa78IFDklUmGq
For configuring your TXT
record, visit your domain name provider’s DNS manager.
There, add a new DNS record. The record type will be TXT
.
Host value will be the part of the domain name excluding your base domain. Use @
if you are using the base domain. For example: @
in case of example.com
. Similarly, for abc.example.com
, host will be abc
.
The value of the record will be the TXT value shown in the dashboard. For example: AWkoZorpwIPDzKB6YMCdycS5bJpa78IFDklUmGq
[ Note: you may need to put quotes: "AWkoZorp...."
]
Check the TXT record: Use the online tool: toolbox.googleapps.com/apps/dig/ to check if your TXT record is set correctly or not.
Click on the Validate button to validate the TXT record and proceed to relay setup.
TXT
record is validated, you will be able to choose a relay region.A
and AAAA
records for your base domain. You need to configure both.A
and AAAA
records, visit your domain name provider’s DNS manager.A
or AAAA
depending on what you are configuring.@
if you are using the base domain. For example: @
in case of example.com
. Similarly, for abc.example.com
, host will be abc
.45.79.40.10
example.com
.Reach out to us at contact@pinggy.io
if you are facing any difficulty in configuring the custom domain.