Plesk 11.x / Linux :: Domain CNAME Redirects To Default Site?
May 16, 2014
When I create a CNAME record for domain, and then trying to load it, it goes to default website. It was working fine before, all old CNAME records are working fine.
Tried reconfigure-all but it doesn't fix the problem. I'm using 11.5.30 Update #44
When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?
My problem is, when I attempt to access a seperate webspace's control panel login through webspace2.com:8443 it automatically redirects me to https://hostname.com:8443.
If however I go to https://webspace2.com:8443 this redirect does not happen and I can log straight in through this domain.
Ideally I need to keep these domains separate and need to remove this non-https redirect that is currently happening.
I have Plesk 11.5 installed on my server. There are about 30 sites on the same shared IP address. I need to set up a site to be accessible via https://<ip-address-of-the-server> . According to the documentation I went to Setting -> IP Addresses and selected the desired site from the drop down. Now http://<ip-address-of-the-server> (note, 80th port) works like a charm. Unfortunately https:// displays only the first page of the selected site; all CSS, JS and other files are not found (404).
I did some research and found that Nginx forwards the requests to Apache for all the PHP files and tries to handle all the static files by itself (what is expected and correct). But it looks like that there is no special configuration for nginx which would specify where to get these static files for the IP address, and Nginx just uses the first loaded config (started from b in my case).
I temporary resolved this issue by modifying the last_nginx.conf for the desired domain this way: listen XX.XX.XX.XX:443 default_server ssl;
Note I added "default_server" directive. Of course it would be erased on each reconfiguration of the config files, but as for now I do not see how I can put it in custom nginx.conf or on the server servel level. I reckon Plesk should include the directive in the file the same way as it produces last_httpd_ip_default.conf Apache config for the selected domain. It looks to be an easy fix on the template level, may be I will do it later, but for now this is just the bug report.
If you would disable a subscription and reloaded that domain name. You would be redirected to a default subscription. How can i change this default landing page?
I upgraded from 10.4.4 to 11.0.9 and saw no errors in the process, everything was fine. However when I checked the sites after, all of them (including sub-domains) were showing the default domain page. All the files are still there no problem, and as a test I deleted a subdomain a recreated it and it worked fine.
I have a feeling it's something to do with IP addresses (I currently have two set up - most sites use one and about only 5 use the other) as going to the subscription and changing the IP address over to the other one then back to the original seems to make the site show up for most sites. I can't do this on all sites though - any commands to reconfigure everything and get it all back in to place?
I am running Plesk 11.5.30 on CentOS and trying to change the default permissions of the /httpdocs folder and the skeleton site that is in .skel/0/httpdocs that appears when a domain is created. I have failed to find the event that I need to use to trigger the command.
I recently set up an eas and autodiscover sub-domains on my main domain (eg myserver.com) running Plesk, Webmail etc, and is the default website for the ip.
So it should be..
myserver.com (not SNI default for IP) eas.myserver.com (SNI) autodiscover.myserver.com (SNI)
But I notice the actual default site (non SNI) is the sub-domain autodiscover.myserver.com.
I checked in
Plesk -> Tools & Settings -> IP Addresses
and that was set correctly, so I tried to change it and back again, then...
/opt/psa/admin/bin/httpdmng --reconfigure-all
Neither worked.
I'm running Ubuntu 12.04.5 LTS and Plesk 11.5.30 #48 (the latest MU)
When typing my ip it used to go to Plesk landing page.
Then through the option: server > tools > IP Addresses, I changed the "Default site" to my main domain, however, it just points to the main page, and not changes the url to the domain (keeps the ip in title, and not show the domain url).
How to make it forwarded to the domain (show it in the address bar), and not just to the index page?
I've just purchased a VPS with Ubuntu 14.04 and Plesk 12 Web Admin Edition. I will use the vps to host just one domain/website. The first time I access Plesk, it asks for some info and first of all it asks form my domain. The default value is localhost.localdomain. Should I leave the default value or should I enter my domain (let's say example.com)?
Is there a way to change the default value of the "Preferred domain" option in the hosting settings of domains in Plesk 11.5? When ever i create a new subscription/domain it just defaults to the value of "domain.ltd" and i have to go into the hosting settings and manually change it to "None". Is there a way i can set it to use the "None" option every time i create new subscriptions or domains?
i have a domain registered within PLESK having the same name as the server itself. After a short period of time the domain shows up the PLESK default page instead of the original content located in the vhost httpdocs directory.
To restore the content it's possible to deactivate and re-activate the domain from the customers control panel. But after an amount of time the default page comes back.I first recognized the error after the update to PLESK 12.
I have several domains configured in my Plesk, and one of them is set as the "Detault site" under Home >> Tools & Setings > IP address management.This has the unpleasant side effect that any domain I point to this IP renders content from the Default site unless it's setup. How can I configure the default site to render content from only one domain?
I have a domain hosted in a external pool of servers.I must set a dns record for www.domain.tld and domain.tld (without www). It must be done using cname.The www.domain.tld , works fine.
Ex:www.domain.tld IN CNAME xyz.otherdomain.tld.
But I am not able to set a DNS record for a root of domain.
Ex: domain.tld IN CNAME xyz.otherdomain.tld. neither domain.tld IN CNAME www.domain.tld.
The PPA didn't allow me.It say that the host field is mandatory.
Starting point: a working site using a shared IPv4, dedicated IPv6, and SSL. HTTP and HTTPS work, the latter only using SNI of course.
The good news: If I simply allocate an IP resource of 1 to a subscription it is pulled from the pool, assigned to the service node, assigned to the web site, DNS is updated, and the site is automatically changed to using a Dedicated IPv4 and Dedicated IPv6.
The bad news: visitors land on the default web site of the service node, with the default SSL certificate.
Other info: I can't ping the new IP, even though it shows in "ip a l" and /etc/sysconfig/network-scripts/ifcfg-eth0:0. [edited]
After the IP assignment, it is still installed, and /etc/httpd/conf/plesk.conf.d/ip_default/domainname.conf shows the new certificate is being used.
However, a second set of VirtualHost entries is created in server.conf for this IP for ports 80 and 443, with NameVirtualHost enabled on the new IP. The port 443 entry uses the default certificate. Apache's setup this default VirtualHost entry will override the web site configuration because Apache is listening on port 443 with the wrong cert.
If I go to "Change webspace settings" and toggle to Shared IPv4, Dedicated IPv6 the site works again via HTTPS, and Dedicated IPv4 and Dedicated IPv6 breaks it again. Setting the SSL cert to None and back again does not work.
Setting the SSL cert to None, changing to a dedicated IP, and enabling SSL results in the server being inexplicably inaccessible...browsers no longer connect to either the default site or the correct site, and I don't see any entries in the vhosts's logs.
When I use website copy function the website files are copied to another domain but the database remains on old site. I use this function to move the website from devel state to the production state. All sites work fine but when i schedule the backups all databases are saved on old domain. How to move the database on production domain?
I've been fiddling with Plesk to get HTTPS to work for [URL] .... Unfortunately I haven't had any successes at forcing HTTPS, all result in a 'to many redirects' message.
The certificate is already activated and can be verified trough; [URL] ....
I enter one of my IPs or the hostname belonging to this IP, followed by the Plesk port, and I get redirected to the "main" hostname of the server, which was set in Plesk. But at this moment that hostname is used by another server (my old server) and so I'm redirected to the other server and cannot access Plesk on the new server.
I don't know why Plesk reacts like this, because it did not on the old server. Here the problem more detailed:
I'm just configuring my new server with Plesk 11. My old server uses Plesk 10. On my old server / in Plesk 10 I have the following scenario:
- I have several IPs (10) - Each IP is used for a different domain - Each IP has it's domain as the reverse entry (configured outside of the server/Plesk) - Each IP is set to "Dedicated" in Plesk - I set Plesk to listen only on one of these IPs (and different port) - Several domains are created in Plesk, but not a domain for my Plesk IP - The server's name is one of the domains (required for mails not being recognized as spam) - The hostname of the Plesk IP is one assigned by my provider (something like x-x-x-x.xyzservers.com) - Entering the IP of Plesk redirects to the "Plesk hostname" => Plesk can be accessed by using x-x-x-x.xyzservers.com:myport
And under Plesk 11 (here comes the problem):
- Still several IPs (but less: 4) - One IP should be used for Plesk, one for domain X, one for domain Y and the last one for the other domains - Reverse entries are x-x-x-x.xyzservers.com for Plesk IP, domain X/Y for two other IPs and the main domain for the last IP - Plesk IP and the two single domain IPs are configured as dedicated, the last one as shared - At this point I did not configure any domains in Plesk - Server's name is the same as my old server (the main domain) => Entering any IP with the Plesk port redirects to the servers hostname, e.g. my main domain, which is still on the old server. => Result: I cannot access Plesk!
Of course I could just change the hostname of the server via SSH (just have to find out how to do this), but why does Plesk react in another way now? Or is the problem that I cannot change Plesk to listen on only one IP?
We have Livezilla tracking on our site, and saw some suspicious activity this afternoon from the Netherlands, about 5 connections from the same IP address, they now appear to have put in a cname record/copied our site for http://wiiee.nl/design.html to our site. Does anyone know what they're doing/trying to do?
Error: Unable to reconfigure web server. websrvmng failed: Site MailEnable WebMail does not exist at IIS7WebSites::get() In IIS7NativeProvider module Exception type: System.Exception at IIS7WebSites.get(IIS7WebSites* , auto_ptr* , Int64 id, basic_string,std::allocator >* idnName) Windows Server 2012 Plesk 11.0.9 Update #62 Note: Recently migrated from Plesk 9.2
Trying to set Default Site for a Dedicated IP Address.
I go to Subscription, then to domain > Change Hosting Settings, select dedicated IP address and OK, works fine. Site goes to Default Plesk Page.
Go to Tools & Settings, IP Addresses > Select the dedicated IP address I set above. Change Default Site to site above. Click Ok.
I get the error message above and nothing changes.
I looked on my IIS Server and MailEnable's Webmail is installed under the Default Website.
I have another Dedicated IP on this server and it has a default site on it working properly, but it was set up on the old site and it was configured as part of the Migration using Migration Manager.
I tried deleting the IP address and adding it back in. That didn't change anything. I also tried running: "%plesk_bin%websrvmng.exe" –reconfigure-webmail since that came up under someone else's issue when searching the web and that .exe is what's throwing the error.
i've installed this shared SSL certificate on my server for a domain. now the weird thing is when i go to [url]it redirects to the site which owns the SSL certificate.
any idea how to either disable https access for everything else, or just now have it redirect to that site?
I am seriously confused mainly because of the way it was explained in my training at work. Can someone please give me an explantion of the difference between creating a cname record and using a domain pointer? My understanding is that they both effectively do the same thing which is allow one ip address to be used for different domains.
Extra marks given for an easy to understand analogy as i'm definately a visual learner.
How can I configure "Backup manager" to clear checkbox "During the backup process, website visitors will be redirected to the custom error document page with the search engine friendly 503 HTTP code" for default (for subscribers, customers, etc.)
Impossible to find a way to show, by default, all domains and websites...
When I log on the Plesk Admin, I come first on a list of websites and domains, but they are not «all» listed. I have to go to the full bottom of the page to click on «Show all».
I didn't find a preference or anything else to change that, and I don't understand why all domains are not listed.