What is a custom domain?
Definition
A custom domain is your own web address, such as files.yourcompany.com, used in place of the host's address. You point it at the host with a DNS record and the host adds the security certificate.
Also called: Own domain, Branded domain, Vanity domain
How does a custom domain work?
You add a DNS record where you manage your domain, and it sends visitors to the host. The host sees which domain was asked for and shows the right page. Once the record is live, the host gets an SSL certificate for it, so the address works over https.
Visitors only ever see your domain. The page, the file and every setting on it are still served by the host, so nothing moves and nothing has to be uploaded twice. If the record is wrong or missing, the host can't confirm the domain, and the address shows an error instead of your page.
Should you use a subdomain or a root domain?
Use a subdomain if you can. A subdomain like files.yourcompany.com is separate from your main site, so pointing it at a host leaves your website alone. Pointing the root domain, yourcompany.com, means the root opens the host's page instead of your site.
The record type differs too. A subdomain usually takes a CNAME record, which points to another name. A root domain usually takes an A record, which points to an IP address, because DNS rules don't allow a CNAME at the root, though some providers offer a workaround.
Why use a custom domain for shared links?
A link on your own domain tells people who sent it before they click. The domain also stays yours if you change hosts later, so you can point it somewhere new instead of sending everyone a new address.
It is not the same as a custom link name, which changes only the part after the slash on the host's domain, or a URL shortener, which gives you a short address on someone else's domain. You can combine them, and print a QR code of the address on your own domain.
| Record | Used for | Points to |
|---|---|---|
| CNAME | A subdomain, like files.yourcompany.com | Another domain name |
| A | A root domain, like yourcompany.com | An IPv4 address |
| TXT | Proving you own the domain | A text value the host gives you |
Custom domain: common questions
How long does a custom domain take to work?
Often a few minutes after you add the DNS record, sometimes longer while the change spreads. The host adds the certificate once it can see the record.
Do I need to buy an SSL certificate?
Usually not. Most hosts set up the certificate for you once the domain points at them, and renew it on their own.
Will a custom domain break my main website?
Not if you use a subdomain. Pointing the root domain at another host replaces what the root shows, so pick a subdomain for shared files.
What happens if I remove the DNS record?
Your domain stops opening the host's page and visitors get an error. The link on the host's own address keeps working.
Can I use one domain for several links?
It depends on the host. Some tie one domain to one link or site, so you add a separate subdomain for each. Check before you plan your addresses.
Related terms
- Static siteA static site is a website made only of ready-made files (HTML, CSS, JavaScript and images) with no server code or database. You can publish one by uploading a ZIP of the folder.
- Shareable linkA shareable link is a web address that opens a file for anyone who has it, without the file traveling as an email attachment. You send a few characters instead of the bytes, and you can usually change or turn off the link later.
- Custom link nameA custom link name is the end of a link's address that you pick yourself, such as my-resume instead of a random code. It is also called a vanity URL or custom slug, and it makes a link easier to read and type.
- URL shortenerA URL shortener is a service that turns a long web address into a short one that redirects to the original page. It stores only the address, not the content, so it leads nowhere once the original page moves or is deleted.
- QR codeA QR code is a square barcode a phone camera turns into a web address. A static code holds the final address and can never change; a dynamic code holds a short link that can be pointed at new content and counts scans.
- Link rotLink rot is when links stop working over time: a transfer link expires, a file is deleted or moved, or a page changes its address. Anyone who clicks the old link gets an error instead of the file.
Go deeper
Updated