Comments on: How to set up Apache Virtual Hosts on Debian 9 https://www.rosehosting.com/blog/how-to-set-up-apache-virtual-hosts-on-debian-9/ Premium Linux Tutorials Since 2001 Fri, 03 Jun 2022 08:34:50 +0000 hourly 1 https://wordpress.org/?v=6.5.2 By: admin https://www.rosehosting.com/blog/how-to-set-up-apache-virtual-hosts-on-debian-9/#comment-47627 Tue, 26 Feb 2019 07:32:58 +0000 https://www.rosehosting.com/blog/?p=27450#comment-47627 In reply to Peter.

You need to open a port in ports.conf file
and change the port in your virtual host. Example:
<VirtualHost *:81>
Also, you should add the port on the browser. http://your_IP_address:81

]]>
By: Peter https://www.rosehosting.com/blog/how-to-set-up-apache-virtual-hosts-on-debian-9/#comment-47626 Mon, 25 Feb 2019 21:24:46 +0000 https://www.rosehosting.com/blog/?p=27450#comment-47626 How I have to setup virtual ports if i have just IP and I want to have like main IP on port 80 and another on port 81. or on ports 81 and 82. thanks for answer

]]>
By: admin https://www.rosehosting.com/blog/how-to-set-up-apache-virtual-hosts-on-debian-9/#comment-47121 Thu, 12 Jul 2018 07:54:26 +0000 https://www.rosehosting.com/blog/?p=27450#comment-47121 In reply to Riso.

You can use the same instructions to add a subdomain.
Just add your subdomain at the “ServerName” line when creating the virtual host file. For example:
ServerName test.domain1.com

]]>
By: Riso https://www.rosehosting.com/blog/how-to-set-up-apache-virtual-hosts-on-debian-9/#comment-47117 Wed, 11 Jul 2018 08:18:06 +0000 https://www.rosehosting.com/blog/?p=27450#comment-47117 Hi, what about subdomains ?

]]>