Port 81 for http is redirecting to 80
3
votes
1
answer
906
views
I have created port 80 and 81 for my Apache. Below is the configuration.
Listen 80
Listen 81
DocumentRoot "/var/www/html/wp"
ServerName www.test.tk
DocumentRoot "/var/www/html/pw"
ServerName www.exampl.com
The issue is, if I call
www.exampl.com
with port 80, it will redirect to www.test.tk
. I want it to show the default page of Apache for www.exampl.com:80
and IP:80
as well.
How do I do it?
Asked by superman
(79 rep)
Jun 9, 2017, 08:16 PM
Last activity: Jun 10, 2017, 06:23 AM
Last activity: Jun 10, 2017, 06:23 AM