Guide-Custom-Domains

About custom domains

By default, your Gemfury repositories are available via the [repo].fury.io endpoints where the Repo-URL hostname is based on the package type and package manager that you are using. For example, a RubyGems repository is available via:

https://gem.fury.io/ACCOUNT/

By enabling a custom domain for a Gemfury account, you will also be able to access this account’s repositories via a domain of your choosing:

https://repo.yourcompany.com/REPO/

Please note that Gemfury works with domains that you already own and manage. We do not provide domain registration/DNS services, nor do we provide continuous monitoring to verify your domain configuration.

Configure a repository domain

To enable a custom domain for your Gemfury account, follow these steps:

  1. Register and configure your domain via your registrar
  2. Go to your dashboard and choose the correct account
  3. Select the Settings tab and then Domains
  4. Enter your domain and click Add

Configuring DNS for your custom domain

After adding your domain to your account, you’ll need to work with your DNS provider to point your domain to Gemfury. This is done by creating a CNAME record for your domain as follows:

 

DNS provider setup examples

After adding your custom domain to your Gemfury account, you need to create DNS records with your domain provider to point your domain to Gemfury. This guide shows how to create CNAME records on popular DNS providers.

What you need to configure

For each subdomain you want to use (like repo.yourcompany.com), you’ll need to create a CNAME record that points to a “target” domain generated for you:

example-target.furyns.com.

For example, if you want to use repo.example.com, you would create: