When you launch a Hub, you want it to be part of your website. To do that, you'll set up a custom domain for the Hub to live on. Here's how custom domains work, and how you can use them with your Hubs.
What is a custom domain?
When you set up a brand new Hub, the default, co-branded domain usually looks something like this:
This is fine for testing, but it's your Hub: you want your customers and prospects to consume your Hub content on your own website — not Uberflip's.
To achieve this, you can replace the default domain with a custom domain. A custom domain allows you to cleanly integrate your Hub with your website by hosting it under a URL that is part of your website, for example resources.mycompany.com.
Why use a custom domain?
There are two main reasons to host your Hub on a custom domain:
Using a custom domain is good for your SEO. Having your Hub content be part of your website means that search engines will consider it your content instead of Uberflip's content. This can mean higher and more relevant search results for your content.
Aesthetics & Branding
When you use a custom domain, anyone who visits your Hub will always see the domain you chose, no matter where in the Hub they go. They should never notice that the Hub is actually hosted on Uberflip's servers — from their perspective, it's all part of your website. All link references, email marketing and system notifications will reflect your domain. This allows your visitors to be entirely immersed in the content experience that you create.
How does a custom domain work?
Sounds good so far, but here's the challenge: your website is hosted on your servers, but Uberflip Hubs are SaaS, which means they're hosted on Uberflip's servers.
So how do we bring them together? The answer is that we use a little web trickery: we make it seem to your Hub visitors like they're on your website, while the content they're seeing is actually coming from Uberflip's servers. This is totally transparent to your visitors — as far as they're concerned, they're still on your website.
There are two main ways to do this, depending on what type of custom domain you want.
How do I use a custom domain with my Hub?
If you want to use a custom domain, you first have to choose what you want the URL for your Hub to look like. Specifically, you need to decide which part of the URL will point to your Hub. There are two options: subdomain or subdirectory.
To understand what this means, let's look at a simple URL:
As you can see, a basic URL consists of the protocol, the domain name, and in some cases also a path:
- Within the domain name, each element separated by a period is a subdomain of the domain to its right. In the example URL above, resources is a subdomain of mycompany.com (and, in fact, mycompany is a subdomain of com).
- The path is anything after the domain name, separated by a slash. It typically refers to a file or folder on the web server associated with the domain name. If it's a folder, it's also called a subdirectory.
Here's how this applies to your Hub and its URL. Say your website's domain is mycompany.com, and you want to incorporate your Hub's URL into that domain under the label resources:
- If you choose a URL based on a subdomain, it could look like this:
- Alternatively, if you choose a URL based on a subdirectory, it might look like this:
So why does this distinction matter? Because the process for setting up a Hub on a subdomain is completely different than the process for a subdirectory, so your choice will determine how you proceed.
It's worth mentioning that there's actually a third option: you can also choose to give your Hub its own, standalone domain. For example, your Hub could live on a URL like this:
This option isn't very popular, as most Uberflip customers have an existing website that they want to integrate their Hub with. However, it is possible. In terms of setup this option is identical to the subdomain option, so if you want to go this route, proceed as if you're setting up your custom domain as a subdomain.
Which option should I choose?
In some ways, using a subdomain is the "default" option. It's much simpler from a technical standpoint, and is easy and fast to set up. We recommend this for most customers, as it should work no matter what your website hosting situation looks like.
Using a subdirectory is the advanced option. It's much more technically complex to set up, and has certain prerequisites in terms of your website hosting configuration. However, using a subdirectory can offer SEO benefits compared to using a subdomain, because a Hub on a subdirectory of your primary domain will benefit from the existing SEO authority of that domain. In addition, some customers simply prefer the URL of a Hub on a subdirectory for aesthetic reasons.
If you're not sure which one to choose, understanding a little more about the requirements and setup process for each option might help you to make your decision. See the links below for detailed information on each one.
How do I set up a custom domain?
Ready to get started with setting up a custom domain? Learn how with these articles: