Page 1 of 1

How to allow access to site via single domain?

Posted: Tue Mar 19, 2019 7:11 pm
by Sid
I have two sub domains
xx.example.com
yy.example.com:8080
Pointing to same server but different ports.
I dont want to allow yy.example.com to show xx.example.com pages nor i want anyone to access xx website via ip.
Previously without vestacp following method used to work
<VirtualHost xx.example.com:80>.
.
.
.
</VirtualHost>
But now with vesta cp it redirects me to /var/www/http sites instead of /admin/web/xx.example.com/public_/

Can any one give me solution for this.
Thanks