Skip to content

How to setup custom URLs

How to setup custom URLs for your deployments

Step 1

To create a custom URL, navigate to the Infrastructure tab and head on to the Managed URLs section.

Infrastructure-Managed-URLs

Step 2

Now add your Sub Domain, Domain, Path in the fields below.

Create-Managed-URLs

Step 3

For example if you want to set the URL 'test.example.com' for one of your deployments - choose Deployment from the dropdown and enter 'example.com' and 'test' in the Domain and Sub Domain fields respectively.

Step 4

After adding these details, choose the deployment you would like to customise, from your existing ones and add the port number it was deployed to. Press Create to generate your new URL.

Redirected-URLs

You can now view your newly created custom URL below. In case it requires any modifications, you've an option to edit or delete it as well.

Custom-Deployment

Refer to Deployments for more details on how to create and manage your Deployments.

How to setup custom URLs for your Static Sites

Step 1

To create a custom URL, navigate to the Infrastructure tab and head on to the Managed URLs section.

Infrastructure-Managed-URLs

Step 2

Now add your Sub Domain, Domain, Path in the fields below.

Create-Managed-URLs

Step 3

For example if you want to set the URL 'test.patr.cloud' for one of your static sites: choose Static Site from the dropdown and enter 'patr.cloud' and 'test' in the Domain and Sub Domain fields respectively.

Step 4

After adding these details, choose the Static Site you would like to customise from your existing ones. Press Create to generate your new URL.

Redirected-URLs

You can now view your newly created custom URL below. In case it requires any modifications, you've an option to edit or delete it as well.

Custom-Static-Site

Refer to Static Sites for more details on how to create and manage your Static Sites.