Issue How to prevent access via ip to server ?

pleskuser888

New Pleskian
Server operating system version
Windows Server 2019 x64
Plesk version and microupdate number
18.0.47.5
Hi guys,

I have plesk panel on windows server. I have a main domain and 3 subdomains under it. When I enter the server public address, I am showing plesk default page. I don't want to reach with public ip address.

What would you suggest as a solution?
 
In Plesk: Tools&Settings -> Tools & Resources -> IP Addresses; select Default site from the sites configured on your server
General: Place a .htaccess in the default dir that does a redirect to any site you want
 
In Plesk: Tools&Settings -> Tools & Resources -> IP Addresses; select Default site from the sites configured on your server
General: Place a .htaccess in the default dir that does a redirect to any site you want

I tried the first option before opening the topic, but this time the forbidden page comes up because the main domain is not on this server. I don't want to see forbidden page to appear either.

It's just opened as a folder and subdomains are under it.
 
Back
Top