• 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!
  • 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.

Wildcard Subdomain in plesk

R

roberthov

Guest
Well this is my 4th question in this forum, and hopefully it gets answered (crossing fingers)

Configuration.
OS Microsoft Windows 6.1;build-7601;sp1.0;suite1296;product3
server --> WINDOWS web server 2008 R2 - sp1
IIS 7.5
Panel version 10.1.1


I need help with the following.
whenever i go to something.domain.com the page loads as if i went to domain.com itself. It DOESN"T redirect, just loads as if i'm in domain.com

For the record
I never did anything to the initial plesk configuration. this has been like that since i set up the server image with 1and1
EDIT; The initial plesk setup came with 10.0.1 version i believe and it's been like that even before i updated plesk to 10.1.1

Now i don't have a sub domain configured like something.domain.com neither in plesk nor in 1and1 admin area.

BUT i do have a subdomain zzzz-wildcard.domain.com which points to a different directory other than the root.


I did some searching around but all plesk related wildcard subdomian searches in google were related to linux servers where u also configure vhost.conf and be done with it..... but i'm on windows.

THE BEST PART
So my question is why isn't the something.domain.com being caught as a non existing subdomain and why's it's loading domain.com instead of zzzz-wildcard.domain.com

since i already have subdomain zzzz-wildcard.domain.com. It works no problem when i go directly to it. i also have dns entry in plesk
zzzz-wildcard.domain.com.------------A------------000.208.209.156


I created a wildcard subdomain entry in dns

*.domain.com.------------CNAME------------zzzz-wildcard.domain.com. ---> didn't work, still loads domain.com

i tried
*.domain.com.------------CNAME------------domain.com. ---> didn't work, still loads domain.com

i tried
*.domain.com.------------A------------000.208.209.156 ---> didn't work, still loads domain.com

i tried restarting plesk, and the server after each configuration ---> didn't work, still loads domain.com


help. i'm going nuts with plesk.


Current dns entries
*.domain.com.------------CNAME------------zzzz-wildcard.domain.com.
000.208.209.156 / 24------------PTR------------domain.com.
ftp.domain.com.------------CNAME------------domain.com.
domain.com.------------NS------------ns1.domain.com.
domain.com.------------NS------------ns2.domain.com.
domain.com.------------A------------000.208.209.156
domain.com.------------MX (10)------------mail.domain.com.
lists.domain.com.------------CNAME------------domain.com.
mail.domain.com.------------A------------000.208.209.156
mssql.domain.com.------------A------------000.208.209.156
mysql.domain.com.------------A------------000.208.209.156
ns1.domain.com.------------A------------000.208.209.156
ns2.domain.com.------------A------------000.208.209.178
sitebuilder.domain.com.------------A------------000.208.209.156
webmail.domain.com.------------A------------000.208.209.156
-www.domain.com.------------CNAME------------domain.com.
zzzz-wildcard.domain.com.------------A------------000.208.209.156
 
Last edited by a moderator:
Could you please describe with step-by-step how this subdomain has been created in your Plesk?
 
in the https://MYIPADDRESS:8443/smb/web/view clicked on "websites & domains" tab

clicked on add subdomain, entered zzzz-wildcard in the text box next to the dropdown .domain.com

----------------------screenshots-------------------------------


logged in --> domains --->control panel of my image
http://img560.imageshack.us/img560/6877/goingtoctrlpnl.jpg

in the new window went to websites and domains & added subdomain
http://img34.imageshack.us/img34/1763/addingsubdomain.jpg

subdomain added
http://img195.imageshack.us/img195/134/addedsubdomain.jpg


after adding the wildcard subdomain , it works just fine when i go directly to zzzz-wildcard.domain.com but something.domain.com just loads domain.com it doesn't redirect to domain.com just loads as if i'm in domain.com. To clarify: I don't want it to redirect, i want to catch it in the wildcard subdomain. while it's displaying something.domain.com in url.

so i added dns entry *.domain.com cname
http://img835.imageshack.us/img835/5720/currentdnsentries.jpg

in regards to last one. server is in master mode.
http://img143.imageshack.us/img143/3612/dnssettings.jpg


i tried to *.domain.com cname domain.com
i tried *.domain.com A ipaddress

but they wouldn't work either
 
Last edited by a moderator:
------------------------UPDATE --------------------------

i solved the problem by logging in via remote desktop and manually changing iis settings.
Even though i'm not sure this is the right way to do it as i'd expect plesk dns entries to actually work?

i would think plesk would handle this, but i guess not. In either case it might be helpful to someone else so they don't have to bang their head against the wall trying to figure this out.

Removed the circled entry from domain.com's bindings
Removed Binding Screenshot

added new entry to zzzz-wildcard.domain.com's bindings
Added Binding Screenshot
 
Last edited by a moderator:
Back
Top