> ## Documentation Index
> Fetch the complete documentation index at: https://docs.minestorecms.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Pointing Domain to VPS

> After you purchased a VPS, you need to configure the DNS settings to point your domain to the VPS IP address.

Before installing **MineStoreCMS**, you need to configure your domain’s DNS settings.

<Check>
  We recommend using **Cloudflare** as your DNS provider.
</Check>

## **Cloudflare Benefits**

* **Security**: Cloudflare provides protection against DDoS attacks, SQL injection, and other threats.
* **Performance**: Cloudflare uses a global network of servers to cache and deliver content faster.
* **Reliability**: Cloudflare’s network is highly available and resilient.
* **Analytics**: Cloudflare offers detailed insights on your website’s traffic and performance.
* **Free SSL**: Cloudflare provides free SSL certificates to secure your website.
* **DNS Management**: Cloudflare has a user-friendly interface for managing your DNS records.

## **Configuring DNS with Cloudflare**

Cloudflare is a popular DNS provider that offers a range of services to secure and optimize your website. To configure your domain with Cloudflare, follow these steps:

<Steps>
  <Step title={"Sign Up for Cloudflare"}>
    Visit the Cloudflare website and click on the **Sign Up** button to create an account. Enter your email address and create a password to complete the sign-up process.
  </Step>

  <Step title={"Add Your Domain"}>
    After registering, click **"Add a Site"** to add your domain name to Cloudflare. Follow the on-screen instructions to input your domain into the system.
  </Step>

  <Step title={"Change Your Name Servers"}>
    Update your domain's nameserver (NS) records to the addresses provided by Cloudflare. This is done in the domain management panel of your domain registrar.
  </Step>

  <Step title={"Configure DNS Records"}>
    Once the nameservers have been updated, configure the DNS records for your domain in the Cloudflare dashboard. Add the necessary records such as A, CNAME, and MX records.

    To use **MineStoreCMS**, add an **A record** for your domain that points to the IP address of your **VPS** server. Optionally, add a **CNAME record** for the `www` subdomain to redirect traffic from `www.example.com` to `example.com`.

    You can find your VPS IP address in the server management panel of your hosting provider or email you received from them.

    **Examples:**
    **For root domain (`example.com`):**

    * **Type**: A
    * **Name**: @
    * **Value**: VPS IP Address

    **For subdomain (`store.example.com`):**

    * **Type**: A
    * **Name**: store
    * **Value**: VPS IP Address
  </Step>

  <Step title={"Verify Activation"}>
    After completing the steps, check your Cloudflare account to ensure your domain’s status is shown as **‘Active’**. This indicates that Cloudflare is successfully managing your domain.
  </Step>

  <Step title={"SSL Configuration"}>
    Cloudflare provides free SSL certificates for your domain. To enable SSL, go to the **SSL/TLS** section in the Cloudflare dashboard and select the **Full** SSL mode.
  </Step>
</Steps>

## **Configuring DNS with Other Providers**

If you are using a different DNS provider, the steps may vary. However, the general process involves updating your domain’s nameservers and configuring the DNS records for your domain.

<Steps>
  <Step title={"Update Nameservers"}>
    Log in to your domain registrar’s website and update the nameservers to the addresses provided by your DNS provider. This is usually done in the domain management panel.
  </Step>

  <Step title={"Configure DNS Records"}>
    After updating the nameservers, configure the DNS records for your domain. Add the necessary records such as A, CNAME, and MX records based on your hosting provider’s requirements.
  </Step>

  <Step title={"Make an A Record"}>
    Add an **A record** for your domain that points to the **IP address of your VPS**.
  </Step>

  <Step title={"Verify Configuration"}>
    Check your domain’s DNS settings to ensure the changes have been applied correctly. You can use online tools like **DNS Lookup** to verify the DNS records for your domain.
  </Step>
</Steps>

<Warning>
  If you encounter any issues while configuring your domain’s DNS settings, contact your DNS provider’s support team for assistance.
</Warning>

<CardGroup cols={1}>
  <Card title="Installation" icon="terminal" href="/installation/installation">
    Install webstore on your server with a few simple commands by using our installer.
  </Card>
</CardGroup>
