Plesk Automation :: Adding Dedicated IP Breaks Site (visitors Land On Default Site)
Apr 14, 2015
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.
View 6 Replies
ADVERTISEMENT
Sep 2, 2014
Code:
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.
View 1 Replies
View Related
Jan 29, 2015
On a clean install of CentOS 6.6 (Final) I did the following:
1. updated the /etc/hosts file to point my ip to the hostname
2. Open the ports in the iptables file.
3. ran the ppa_installer per the instructions on [URL] ....
The ppa_installer log says installed Successfully. However the following occurs:
1. Cannot browse to the url:8443, or any of the other variations (8080, 8880, https/http)
2. Yum installer is now broken (I replicated this twice). Yum will not run at all with the following error:
There was a problem importing one of the Python modules required to run yum. The error leading to this problem was: /usr/lib64/libcurl.so.4: file too short
Please install a package which provides this module, or verify that the module is installed correctly.It's possible that the above module doesn't match the
current version of Python, which is:
2.6.6 (r266:84292, Jan 22 2014, 09:42:36)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-4)]
I am now going to try Cent OS 6.4.. will report back.
View 8 Replies
View Related
Sep 3, 2014
A single website is returning 503 to every request - it's a wordpress site - and we have a lot of those, none of the others are returning the same errors, so this is quite odd to me:
141.101.70.247 - - [03/Sep/2014:08:29:36 -0600] "GET /apple-touch-icon.png HTTP/1.1" 503 1330 "-"
"MobileSafari/9537.53 CFNetwork/672.1.15 Darwin/14.0.0"
173.245.50.138 - - [03/Sep/2014:08:36:18 -0600] "GET /tag/rohloff/ HTTP/1.1" 503 1330 "-"
"Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)"
108.162.216.158 - - [03/Sep/2014:08:50:05 -0600] "GET / HTTP/1.1" 503 1330 "-"
"Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0"
I do see some ModSecurity warnings from last night:
[Tue Sep 02 23:07:58 2014] [error] [client 141.101.98.8] ModSecurity: XML parser error: XML: Failed parsing document. [hostname "WEBSITE.co.uk"] [uri "/xmlrpc.php"] [unique_id "VAaiLrhfKCIAAAvNboMAAAAP"]
[Tue Sep 02 23:07:58 2014] [error] [client 141.101.98.8] ModSecurity: Access denied with code 400 (phase 2).
[Code] .....
but no errors in the site error_log since that last one - all I see now is 503 errors.
How to proceed with debugging the cause of this?
View 3 Replies
View Related
Jun 16, 2014
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.
View 2 Replies
View Related
Jul 9, 2015
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?
View 2 Replies
View Related
Jul 14, 2012
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?
View 19 Replies
View Related
Jul 24, 2014
where i can change the default plesk page when a domain has been suspended or disable? I like to change it to my custom page. Is there a way?
View 5 Replies
View Related
Jan 13, 2015
I disabled a site, and instead of getting the default placeholder when visiting the domain, I get another web site that I host.
[URL]
View 2 Replies
View Related
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
View 1 Replies
View Related
Jul 2, 2009
many visitor cannt enter my site
and many user say that browsing my vbllieten forum very slow
and there is user can crowse my site very fast
i check blocked ip in cvs and there is nothing
View 9 Replies
View Related
Dec 21, 2007
I have a reseller package with Hostgator, I use it to host a few sites on. Recently one of my customers started to notice that periodically, his site goes down - only to him.
I and others can access it just fine but he cannot nor can his friends in his local town. Most of the time it is on line.
I have checked the server DNS and domain name settings and all is fine.
I can't understand what the problem could be, it seems strange that almost everyone in the UK and US can access it but he cannot.
He has cleared his browser settings, reboot his connection and tried pinging his domain but no luck.
I'm not too sure what the problem could be.
The domain is
[url]
View 7 Replies
View Related
Mar 1, 2015
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.
#!/bin/bash
chmod -R g+rwx "/var/www/vhosts/${NEW_DOMAIN_NAME}/httpdocs"​
Some research suggested using the 'physical hosting created' but there is no option for this in 11.5.30.
View 3 Replies
View Related
Jul 28, 2008
any way to find out how many surfers are on your website simultaneously / concurrently.
i have download site, scripts site and a forum on the same dedicated server using the same domain name. the forum tells me i have xxx number of users online... is there a way to find out how many surfers there are on the download and scripts part of the site?
i tried
ps -aux |grep httpd
but it shows significantly lower numbers than i can see on the forum. and i havent added the script and download parts of the site.
View 7 Replies
View Related
Jan 3, 2008
I am running WHM/cPanel (latest) and my server has 8 IP addresses. The first IP is the main shaired address but cPanel appears to only let me add one site to each of the additional IP addresses.
Is there a way I can host multiple sites on each of the additional IP’s
View 8 Replies
View Related
May 7, 2009
I have a VPS and I am using LXAdmin. What I want to do is that if I type the IP of my VPS in my browser it would show my main Website and not the page of LXAdmin saying that the IP address or domain is not yet setup.
View 1 Replies
View Related
Feb 11, 2014
We deployed a subscription (through PBAS), and realised afterwards that the database resource was missing.
This has now been added and the subscription synchronised.
However, the MySQL system is still not available on the subscription. How can we enable the MySQL (or indeed any added resource) after the subscription has been deployed.
I saw for Webspace you can add additional webspace, is there a similar feature for the Databases?
View 4 Replies
View Related
Mar 19, 2014
I have some problems adding a database and a webserver service-node:
Mar 19 13:44:13 plesk-db : DBG [SYSTEM 4:6600:f6affb70 lib]: [SMConfig] {module_id="Common"; code="1"} Internal error: SAXParseException while parsing /usr/local/pem/etc/service_config.xml: element 'SERVICE_CONFIG' is not allowed for content model '(SERVICES)'.
Mar 19 13:45:50 plesk-www : DBG [SYSTEM 3:9054:f6affb70 lib]: [SMConfig] {module_id="Common"; code="1"} Internal error: SAXParseException while parsing /usr/local/pem/etc/service_config.xml: element 'SERVICE_CONFIG' is not allowed for content model '(SERVICES)'.
Content of the service_config.xml
Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<!DOCTYPE SERVICE_CONFIG PUBLIC "SM" "SM 1.0">
<SERVICE_CONFIG/>
View 3 Replies
View Related
Aug 11, 2014
I am working on a new install of PPA, and after installation on the management node Im trying to add the other nodes. Ive tried to add a Apache, Postfix, DNS & DB node, and they all have the same issue. The installation task fails with the following error:
Destination host 'node.domain.com' (#3), IP '192.168.1.*' : The operation can not be completed because the following component is missing or is not running: pleskd (sc_name '', sc_id #45)
(domain and IP are removed here, correct in the original error. The IP is a backchannel IP, and the public IP was properly set in the management node).
I've verified that pleskd was installed and is running on each node:
Code:
24710 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal
24712 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal
24714 ? S 0:00 /usr/local/pem/sbin/pleskd --props-file /usr/local/pem/etc/pleskd.props --send-signal
...
I've verified that my management node can connect to the nodes in question via 8532:
Code:
]# telnet 192.168.1.* 8352
Trying 192.168.1.*..
Connected to 192.168.1.*.
Escape character is '^]'.
^]
telnet> quit
Connection closed.
So there shouldn't be any firewall or other networking issues.
What else can I try to get this running?
View 5 Replies
View Related
Mar 27, 2014
Somehow when customers add a new MySQL database they can select a Local MySQL server. It turns out this is the MySQL instance running on the CP server, can I somehow hide this server from the list?
View 1 Replies
View Related
Mar 14, 2014
Is it possible to set default value for 'Preferred domain' in domain hosting panel ?
For example we want for each new created domain + aliases to be redirected to www.domain.tld, so 'Preferred domain: www.domain.tld'
View 2 Replies
View Related
Apr 10, 2014
I uploaded the default skeleton files into the management ppa server at /var/www/vhosts/.skel/0/
But when I am creating a new subscription the skeleton is still the default plesk skeleton, something changed from ppa 11 to 11.5 ??
View 1 Replies
View Related
Aug 14, 2014
How do I change the default country from the United States to Canada in the new Customer setup page?
View 1 Replies
View Related
Jan 28, 2014
How to install a certificate for a brand ?
Let's say I have a brand B associate to a reseller R and a domain name domain.com.
When B sell a new subscription (with the associated webspace) it is available under sub.domain.com.
I would like to have a specific SSL certificate installed by default for every newly created webspaces by B under xxx.domain.co
View 7 Replies
View Related
Jun 6, 2013
How do we reset default permissions in virtual host directory in PPA.
I see some KB articles for Plesk Panel - but not sure we can use those.
View 4 Replies
View Related
Mar 29, 2009
Attached is a (badly) drawn diagram of two sites, connected by a vpn.
The site to the left, is network 10.0.0.0/24 which runs a linux server as the router for the network.
The site to the right, is network 10.1.0.0/24 which runs a windows 2003 server as the router for the network.
Now, my problem is, the clients behind the windows 2003 server can ping any machine on the first network because i setup a static route to route all traffic to 10.0.0.0/24 over the vpn interface.
now, my problem is, only the linux server can ping any machine on the windows 2003 network, any client behind the linux server cant seem to route over the interface.
I have the following route on the linux server: .....
View 0 Replies
View Related
May 21, 2008
is there anyone knows for a good hosting located in uk,which is allowed : adult site and casino betting online site ?
im looking for vps and dedicated server.
please help me i really need as soon as possible.thx
View 2 Replies
View Related
Jun 16, 2008
I run basicly run two main site.
1.Forum big one .
2.File and image sharing site.
(image sharing site generates thumbnails which produces lots of hits)
In these conditions how much difference can lighttpd can do as compared to apache for keeping my 600 MB Ram VPS host constant.
View 5 Replies
View Related
Jun 14, 2008
I own a site that is MySQL driven, shared hosting is no way to go now with over 100 guests on the site, and alot of MySQL usage...
My question is, do we need a dedicated server? or the site would function great with 99% uptime on a VPS?
Another issue is, the site gets DDoS / DoS attacks between now and then, haters out there... so would a VPS be able to stay up against the attacks? can I install CSF with no problems? or any other firewall?
Let me know what you think, and if VPS is the way to go, please suggest some VPS hosting providers...
View 6 Replies
View Related
Apr 3, 2008
What would be the site hosting capacity of a dedicated server in terms of numbers of small sites.
1000 visitors a day for example.
Perhaps 5 page views a vistor and each site having a VBulletin as a sub-domain.
Would it be best to run them all off one dedicated server or each site just off a small hosting plan?
For organizational purposes it seems the dedicated server would be the way to go?
View 2 Replies
View Related