• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Question How to add a domain/vhost only accessible locally?

Downing

New Pleskian
System: I've got a (virtual) windows server 2012 R2 running Plesk Onyx 17.8.11 with one network adapter which has only its public v4 + v6 ip assigned. When I try to access 127.0.0.1 or localhost via browser I see the plesk default page.

Goal: I want to run an application which is only accessible on this server Walgreens Listens

For security reasons I don't want to add it to the default vhost as this one could eventually be accessed from outside, e.g. if an domain unknown to Plesk points to the server. I thought it would be possible to add a local vhost/domain (e.g. localhost) but failed to do so, see below.

Tried:

  • add a domain called "localhost" -> "domain name is not valid"
  • add "127.0.0.1" or "127.0.0.1/16" as ip address -> "given ip cannot be used. enter a valid ip address with subnet prefix or mask"
  • I have seen Plesk website via local IP but I have no local network beside the public IPs
 
Last edited:
You should add a domain like internal.private or something like that.

Then you can do these things:

1) go directly into IIS manager and change the "bindings" of this website

Or

2) restrict access via web.config or protected directory

Or

3) restrict access via firewall
 
Back
Top