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

# Point Domain to VPS

> Point your domain name to your VPS IP address

After registering a domain name, you can point it to your VPS to make your server accessible via a custom domain.

<Info>
  **Prerequisites**

  * A VPS with OnetSolutions
  * A registered domain name
  * Access to your domain's DNS settings
</Info>

## DNS Configuration

<Steps>
  <Step title="Activate DNS Zone">
    Activate the DNS zone of your domain through your domain registrar or DNS provider. Wait for the zone to be fully activated.
  </Step>

  <Step title="Get your VPS IP address">
    Find your VPS IP address in the OnetSolutions control panel under your VPS management interface.
  </Step>

  <Step title="Create A Record">
    Create an A record to point your domain to your VPS:

    * **Type**: A
    * **Host/Name**: @ (or leave blank)
    * **Value**: Your VPS IP address
  </Step>

  <Step title="Create www CNAME (optional)">
    Create a CNAME record for the www subdomain:

    * **Type**: CNAME
    * **Host/Name**: www
    * **Value**: yourdomain.com
  </Step>
</Steps>

## Email Configuration (Optional)

If you plan to host email on your VPS, add these additional records:

| Type  | Host | Value               | Priority |
| ----- | ---- | ------------------- | -------- |
| CNAME | mail | yourdomain.com      | -        |
| MX    | @    | mail.yourdomain.com | 1        |

## DNS Propagation

<Note>
  DNS changes can take up to 24-48 hours to propagate globally. During this time, some users may see the old configuration while others see the new one.
</Note>

## Verification

After DNS propagation, verify your configuration:

```bash theme={null}
# Check A record
dig yourdomain.com A

# Check MX record (if configured)
dig yourdomain.com MX
```
