HOSTED SPACES

Hosting Spaces on a sub folder

4min

The default way to host documentation with Archbee is on your custom domain, e.g docs.piedpiper.com. To make docs available at your main domain at a sub folder like https://www.piedpiper.com/docs, you will need access to your webservers to be able to proxy requests to our systems.

You will need to setup a default custom domain anyway, and then proxy to it from your main domain. We will take care that Google doesn't see it as duplicate by signalling it through a custom canonical tag.

Step 1: Enter the optional proxy like in the picture below

Document image


While you're here, please make sure the URL path at Step 5, is the same one you set below in your webserver config.

Step 2: Here are a couple of samples from popular webservers on how to config it so that the proxying system works

Nginx Server Config

Text


Apache Server Config

1

Ensure the following modules are installed and enabled:

Text

2

Add the following to the site configuration file under /etc/apache2/sites-available

For example: 000-default.conf

JS


Our full domain test working config looks something like:

Text

3

Restart the Apache server:

For example, If you are using Apache on Linux:

Text




🤔
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.