> For the complete documentation index, see [llms.txt](https://phplime-envato.gitbook.io/qrexorder/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://phplime-envato.gitbook.io/qrexorder/faqs/how-change-domain-works.md).

# How Change domain works?

**How Change domain works?**

***

Answer:

1. If you want to switch/change your domain first backup your database and codes.
2. Enter your new domain/URL where you have to transfer your script
3. Enter your purchase code in the purchase code field
4. Press Submit button

**When your press the submit button this domain/URL will not valid/available.**

When the request submitted successfully Just transfer the script and database in your new server

IF you change your hosting and domain both then you have to configure the **database.php** file check documentation for details

How to config database.php file. <mark style="color:purple;">(if your database configuration same as the old server then no need to config database.php file)</mark>

database.php file location: **`application/config/database.php`**

```
'hostname' => 'localhost',
'username' => 'your new database username',
'password' => 'your new database password',
'database' => 'your new database name',
```

Just edit database.php file and set the values

**\*If you get any issues please mail at our support**
