• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Adding subdomain linked with local network IP

snooker

New Pleskian
Hi All !
I have a main domaine like: mydomain.com.
This mydomain.com works very well and we can access it from Internet.

In Plesk, I have 2 web spaces : one for mydomain.com, one for foo1.mydomain.com. I know both these web sites work very well.

I'm trying to add a subdomain like: foo1.mydomain.com.
I would like this subdomain only accessible from a local IP, like 172.17.0.1 (docker IP in fact).

I've added a line like the following in DNS settings, in plesk :
foo1.mydomain.com. A 172.17.0.1

My computer is configured to use mydomain.com as DNS server.

The command "nslookup foo1.mydomain.com" returns Address: 172.17.0.1 :) nice

So, all seem ok. But... I cannot access the web site foo1.mydomain.com.
curl foo1.mydomain.com
curl: (7) Failed to connect to foo1.mydomain.com port 80: Connection refused

.... :( ..... :( ..... :(

Plesk tells me some errors :
Unable to resolve domain

In the log file /var/log/plesk/panel.log I have :
[2021-03-16 20:34:24.481] ERR [panel] Cannot fetch DomainConnect data 404: Not Found
[2021-03-16 20:34:25.565] ERR [panel.ui] Unable to find subscription


It seems that plesk can't link the webspace with the subdomain... ?
Also, Plesk seems to try to resolve my subdomain from Internet, but, It's wrong way, I juste need a local domain resolved with local DNS server, not from my Register...

Maybe I'm doing wrong? Someone can help me?

Thank you really much.
 
I am not 100% sure, I suspect you might have to add the 172.17.0.1 IP to Plesk (Tools & Settings > IP Addresses) and then assign foo1.mydomain.com to this IP.
 
Back
Top