# How to customize sites

### Default Sites

The sites you are given are <http://website1.com> and <http://website2.com.\\>
You can display these in your Windows Host file at C:\Windows\System32\drivers\etc\hosts. To see the site you add the entries like this below.

```
3.229.122.138		website1.com
3.229.122.138		website2.com
```

Open a browser with those URLS and you will see your site with the default ColdBox frameworks. In order to set different site names you will want to edit  website1.conf and website2.conf files open a shell and navigate to:

```
/etc/nginx/sites-enabled# ls
website1.conf  website2.conf
cat website2.conf
```

* replace all website2.com entries except the directory.

```
###############################################################
# Example
###############################################################
server {
        ################### SERVER NAME AND PORT #####################
        listen 80;
    server_name website2.com;

        ################### LOGS #####################
        access_log /var/log/nginx/website2-access.log;
        error_log /var/log/nginx/website2-error.log warn;
        rewrite_log off;

        ################### LOCATION #####################
        root /var/www/website2;

        ################### CFML #####################
        # Mod_cfml (Lucee) specific: add a unique ID for this server block.
        # For more info, see http://www.modcfml.org/index.cfm/install/web-server-components/nginx-all-os/
        set $lucee_context "website2.com";

        set $application_port "8002";
        include lucee.conf;
}
```

* Restart Nginx and restart the server. Open your new site.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cloud-servers.ortusbooks.com/aws/ubuntu-based-images/other-engines/commandbox-+-nginx/connecting-to-your-server/connecting-via-vscode/how-to-customize-sites.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
