• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Wildcard / Catchall Subdomains. How do i make them ?

A

Abdullah.Ahmed

Guest
I want to create a wildcard subdomain where
if the user types a subdomain which i have not created like asdasdhkjq1.mydomain.com then he /she gets redirected to the main page (mydomain.com/default.aspx)

However i still wanna make it so that the url remains asdasdhkjq1.mydomain.com in the address bar.

I tried making a A record like this

A * xxx.xxx.xxx.xxx but it shows a plesk page saying no domain have been setup on this address or something.

Anyhelp ?
 
Let me be more specific.

I setup an A record via plesk such as this.

*.dilchasp.com. A 64.61.14.109

that IP is exclusively used by my site. So i was hoping to have all subdomains go to the same page (dilchasp.com/default.aspx) where i can then access the url and do the magic on it.

However that does not seem to work. It takes me to a default plesk page (eg http://sldkjajds.dilchasp.com).

Is there anyway to make that record point to a proper site ? Do i need to configure IIS for that ?
 
First of all:
1. Host Names (or 'labels' in DNS jargon) were traditionally defined by RFC 952 and RFC 1123 and may be composed of the following valid characters.
A to Z ; upper case characters
a to z ; lower case characters
0 to 9 ; numeric characters 0 to 9
- ; dash
Therefore you A record is simply ignored
2. Just make site you want all users to be redirected default for that IP (Plesk CP->Server->IP addresses->on IP address row click host and select default site for that IP)
3. On another IPs you can also set default site and create redirection to your desired site

John S.G.
 
Back
Top