> For the complete documentation index, see [llms.txt](https://docs.devhub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devhub.com/hosting-options/server-path-override.md).

# Server path override

## How it works

This option allows you to maintain your exiting website and pages under [www.yourdomain.com](http://www.yourdomain.com) hosted elsewhere - But publish pages under a specific directory under your domain

Example: `www.yourdomain.com/locations/<location_name_here>/`

## Can you use it?

Our enhanced landing pages use a special configuration that requires some changes be setup by your web site hosting provider.

If you are using a service for your website, then your provider should be contacted via their existing support team. If you are self hosting your website, then these questions would be directed at your webmaster or system administrator.

### What to ask

1. Can your provider support custom server configurations for your website?
2. If so, if you could ask what technology they use to host the websites. This is normally called something like: Apache, IIS or NGINX.

Once we verify that the provider can make these changes, we will then send over specific configuration instructions matching the technology for them to install onto your domain.

## Server technologies supported

See below for specific server examples and instructions.

* [Apache](/hosting-options/server-path-override/apache-configuration.md)
* [IIS](/hosting-options/server-path-override/iis-configuration.md)
* [NGINX](/hosting-options/server-path-override/nginx-configuration.md)

## Testing

If you have existing pages live, you will want to first deploy a test configuration on a different path (i.e. `/test-your-page-path/`).

After implementation, we can verify that the requests are being sent to our server successfully.

Note that visiting the IP provided by us directly will not return any content, but if you do see a 404/blank page on your requests to `www.yourdomain.com/test-your-page-path/` that is a good sign.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.devhub.com/hosting-options/server-path-override.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
