Add a Virtual host

Add a Virtual Host to make an application accessible on the internet, by server IP address or a domain name

  1. On Devopness, navigate to a project then select an environment
  2. Find the Virtual hosts card
  3. Click View in the Virtual hosts card to see a list of existing Virtual hosts
  4. On the upper-right corner of the list click ADD VIRTUAL HOST
  5. Follow the prompts then click CONFIRM
  6. In the Virtual hosts list, the recently created virtual host can be seen
    • A new deployment is required for your changes to take effect

NOTE: For virtual hosts of type Server IP address ("ip-based virtual host"), please make sure:

- the virtual host hostname is the IP address of the server to which the virtual host was successfully deployed

NOTE: For virtual hosts of type Domain name ("name-based virtual host") please make sure:

- a DNS record with the same name of the "name-based virtual host" exists

- the DNS record is pointing to the IP address of the server to which the virtual host was successfully deployed

Follow the steps below to configure a DNS record pointing to your server:

  1. Copy the IP Address of the server to which the virtual host has been deployed
  2. Access your DNS service management panel
  3. Configure a DNS record for your virtual host domain
    • Follow the specific instructions on your chosen DNS service documentation
  4. Verify your DNS record is pointing to your Devopness managed server

NOTE: in order to secure all network connections with your virtual host, and ensure all data submitted to your domain name is encrypted over the HTTPS protocol, follow the guide on how to Add an SSL Certificate

Required Permissions:

NOTE: To complete the steps in this post, the user needs to have the following permissions in the environment:

Resource Type Permission
Virtual Host Create

For instructions on how to grant user permissions in an environment, see Add team to an Environment