Add a Virtual host
Add a Virtual Host to make an application accessible on the internet, by server IP address or a domain name
- On Devopness, navigate to a project then select an environment
- Find the
Virtual hosts
card - Click
View
in theVirtual hosts
card to see a list of existingVirtual hosts
- On the upper-right corner of the list click
ADD VIRTUAL HOST
- Follow the prompts then click
CONFIRM
- In the
Virtual hosts
list, the recently created virtual host can be seen- A new deployment is required for your changes to take effect
- Follow the guide Run a Pipeline
- 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:
- Copy the IP Address of the server to which the virtual host has been deployed
- Follow the guide Find your Server IP Address
- Access your DNS service management panel
- If you don't have your own domains configured with a DNS service, you can use free services such as FreeDNS or hire paid managed DNS services such as AWS Route53, Cloudflare DNS, or any notable managed DNS service provider that suits your needs
- Configure a DNS record for your virtual host domain
- Follow the specific instructions on your chosen DNS service documentation
- Verify your DNS record is pointing to your Devopness managed server
- This can be verified using a DNS propagation checker such as whatsmydns or DNS Checker
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