Hi,
I have my cPanel set up as having addon domains within public_html, but I have my main website in the root of public_html. Problem is, anybody with knowledge can access anything in that directory as trailing slash URL from my main website.
For example https://one.uk/two.co.uk/ one.uk is my main domain and two.co.uk is an add-on domain. If I visit this URL, it will take me to two.co.uk, but have one.uk in the URL, I don't want this behaviour. How can I stop it?
Thanks
I have my cPanel set up as having addon domains within public_html, but I have my main website in the root of public_html. Problem is, anybody with knowledge can access anything in that directory as trailing slash URL from my main website.
For example https://one.uk/two.co.uk/ one.uk is my main domain and two.co.uk is an add-on domain. If I visit this URL, it will take me to two.co.uk, but have one.uk in the URL, I don't want this behaviour. How can I stop it?
Thanks