> ## 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.

# Changing Domain

> Learn how to change the domain of your MineStoreCMS Instance.

<Warning>
  You can also **purchase installation service** from our [official website](https://minestorecms.com/dashboard) and our team will manage everything fast and **without any risks** for you.
</Warning>

## **Changing Domain**

To change the domain of your MineStoreCMS instance, you need to follow the steps below:

1. Point a [new domain](/installation/configuring-dns) to your **VPS IP address**.
2. Change the domain in the **Nginx** or **Apache** configuration file (`/etc/nginx/sites-enabled/minestore.conf` or `/etc/apache2/sites-enabled/minestore.conf`).
3. Restart the **Nginx** or **Apache** service.
4. Update the **webstore URL** in the `.env` file (`/var/www/minestore/.env`).
5. Get the **new license key** from the [official website](https://minestorecms.com/dashboard) and update it in the `.env` file (`/var/www/minestore/.env`).
6. Update the **webstore URL** in the `/var/www/minestore/frontend/.env` file.
7. Execute the following command to restart the frontend service:

```bash theme={null}
service php8.2-fpm restart
cd /var/www/minestore
php artisan config:cache
php artisan route:clear
sudo systemctl restart minestore_worker
sudo systemctl restart minestore_queue
sudo systemctl restart minestore_schedule
sudo systemctl restart minestore_frontend
```

9. Done! Your **MineStoreCMS instance** is now running on the new domain.
