← Back to all posts custom domains

Custom Domains Explained: How to Connect Your Domain to Your Cosmo Store

Published April 20, 2026

Why Your Domain Name Matters for Your Discord Business

When you first launch your Cosmo store, you get a beautiful storename.visitcosmo.com URL. It’s functional, fast, and secure. But as your community grows and your brand becomes a household name in your niche, you might want something even more professional—like shop.yourserver.com or yourbrand.com.

Connecting a custom domain isn't just about looking "fancy." It’s about building trust. When a member of your Discord community clicks a link to buy a subscription or a new digital item, seeing your own branding in the address bar provides an immediate sense of security.

In this guide, we’ll walk you through exactly how to point your domain to Cosmo using DNS records. Don't worry if you aren't a "tech person"—we'll break it down step-by-step.

Prerequisites

Before we dive into the settings, make sure you have the following ready:

1. A Cosmo Account: You should already have your store set up on visitcosmo.com.

2. A Domain Name: You need to own a domain purchased through a registrar like Namecheap, Google Domains, Cloudflare, or GoDaddy.

3. Access to your DNS Provider: This is usually the website where you bought your domain.

Understanding the Two Main Records

To connect your domain, we generally use two types of DNS records. Think of these like the physical address for your online house.

  • CNAME Record: Most commonly used if you want to use a subdomain (like shop.yourbrand.com). It "points" your subdomain to Cosmo’s servers.
  • A Record: Used if you want to use your "root" domain (like yourbrand.com). It points directly to an IP address.
  • Step 1: Add Your Domain in the Cosmo Dashboard

    First, you need to tell Cosmo which domain to expect.

    1. Log in to your Cosmo Dashboard.

    2. Navigate to Store Settings and find the Domains tab.

    3. Click on Add Custom Domain.

    4. Enter your domain (e.g., shop.yourserver.com) and click save.

    5. Cosmo will now provide you with specific values (an IP address or a CNAME target). Keep this window open!

    Step 2: Update Your DNS Settings

    Now, open a new tab and log in to your domain registrar (where you bought the domain).

    If you are using a Subdomain (Recommended)

    If you want your store to live at shop.example.com or store.example.com, follow these steps:

    1. Locate the DNS Management or Advanced DNS section of your domain.

    2. Click Add New Record.

    3. Select CNAME Record as the type.

    4. For Host (sometimes called Name), enter the prefix you want (e.g., shop or store).

    5. For Value (sometimes called Target or Points To), enter domains.visitcosmo.com.

    6. Set the TTL to "Automatic" or the default value.

    7. Save the record.

    If you are using a Root Domain

    If you want your store to live at example.com, you will need to add an A Record.

    1. Select A Record as the type.

    2. For Host, enter @ (this represents your root domain).

    3. For Value, enter the IP address provided in your Cosmo Dashboard (usually 76.76.21.21 or similar, but always check your dashboard first).

    4. Save the record.

    Step 3: Verification and SSL

    Once you've saved the records in your DNS provider, head back to the Cosmo Dashboard.

    1. Click the Verify button next to your domain.

    2. Don’t panic if it doesn't work immediately. DNS changes can take anywhere from a few minutes to 24 hours to propagate across the entire internet. This is known as "DNS Propagation."

    3. Once Cosmo detects the record, we will automatically issue an SSL Certificate for you. This ensures your store has the little padlock icon in the browser, keeping your customers' data safe.

    Common Troubleshooting Tips

    If your domain isn't connecting after a few hours, check for these common issues:

  • Duplicate Records: Ensure you don't have two different A records for the same Host. If you have an old record pointing to a different host, delete it.
  • Cloudflare Users: If you use Cloudflare for DNS, make sure the "Proxy Status" (the orange cloud) is set to DNS Only (grey cloud) for the specific record you are using for Cosmo. Cosmo handles the security and optimization for you!
  • Typos: It sounds simple, but double-check that visitcosmo.com is spelled correctly in your CNAME record.
  • Why This Matters for Your Community

    Using a custom domain on Cosmo transforms your Discord server from a hobby into a professional ecommerce brand. It makes your links shareable, memorable, and unique.

    When your members visit shop.yourcommunity.com, they aren't just visiting a platform; they are visiting your home. Once your domain is set up, you can spend less time worrying about technical hurdles and more time creating amazing products and roles for your supporters.

    Need more help? Join our Discord community where our support team and fellow creators are happy to assist you!

    Ready to start selling on Discord?

    Create your free Cosmo store in minutes.

    Get Started →