Plesk 11.x / Linux :: Content From Subdomain Server Alias Over HTTPS Not Being Served By Nginx

Jul 14, 2014

We're running Plesk 11.5 on a CentOS 6.5 VPS and we would like to resolve the following problem:

We've configured a physical subdomain, lets say sub1.mydomain.com, and set up a couple of aliases for that domain in Plesk under:

Web Server Settings for sub1.mydomain.com > Additional Apache directives > "Additional directives for HTTP"

Code:
ServerAlias mysub1.mydomain.com
ServerAlias mysub2.mydomain.com

And

Web Server Settings for sub1.mydomain.com > Additional Apache directives > "Additional directives for HTTPS"

Code:

ServerAlias mysub1.mydomain.com
ServerAlias mysub2.mydomain.com

This config is working fine until we try to load resources from the alias over ssl, I believe something is missing in the Nginx config. I'm not getting any info using the logs.

For example:

http://sub1.mydomain.com/img/myimage.jpg --> works!
https://sub1.mydomain.com/img/myimage.jpg --> works!

http://mysub1.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> not loading

http://mysub2.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> not loading

Do we need to specify alternative directives for Nginx?

View 1 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: How To Know If Nginx Served A Specific Page

Jun 3, 2014

I have setup Nginx to serve static pages. I cache some pages and therefor they are static and should be served by Nginx. Now, how can i check if a specific page actual was served by Nginx and not Apache?

View 1 Replies View Related

Plesk 12.x / Linux :: Nginx Wildcard Subdomain

Jul 3, 2014

I have a problem with Nginx on myPlesk 12 with wildcard dns.I want subdomains URl to be like root domain url. Exemple. URL...You can see a live exemple here: URL.... give error 404 instead of showing root domain file (URL....). It's the same for images.What specific rule I must add in plesk panel?

View 5 Replies View Related

Plesk 12.x / Linux :: Enable HTTPS On Domain / Server

Feb 25, 2015

I've tried to enable https on a domain /server: vpn, debian 6.0.10, plesk 12.0.18/ but all I receive is a 403 forbidden error. I can't find any other related option, what could be the problem?

View 4 Replies View Related

Plesk 11.x / Linux :: Couldn't Find War Content In Server

May 15, 2014

I cannot find my files after deploy war files..

I need to create a directory after unpacking war file process..

I need to know where is my files in server..

View 1 Replies View Related

Plesk 11.x / Linux :: Nginx IP When Server Reboot

May 6, 2014

When I reboot my centOS 6.5 + Plesk 11.5 server, Nginx doesn't start and every time I need to go to Server > IP Addresses and click Reread IP.Then Plesk says that need to repair one of these ips, I click repair and then Nginx can start. ( I have 3 ips [2 ipv4 and 1 ipv6] )

View 3 Replies View Related

Plesk 12.x / Linux :: How To Switch To NGINX Only As Web Server

Oct 26, 2014

As the title says: How do I switch to NGINX only as my web server, while disabling/removing apache in Plesk?

View 2 Replies View Related

Plesk 11.x / Linux :: Wrong Server Nginx Config

Dec 5, 2014

I have plesk11.5 and found a big security bug in my script because plesk11 do a strange behavior:

[REMOTE_ADDR] => 95.*.*.*
[SERVER_PORT] => 80
[SERVER_ADDR] => 91.*.*.*
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => Apache

[REMOTE_ADDR] => 2003:67:4b4b:*
[SERVER_PORT] => 80
[SERVER_ADDR] => 127.0.0.1
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => ApacheClick to expand...

View 4 Replies View Related

Plesk 12.x / Linux :: Auto Enable Nginx As Default Web Server

Jan 10, 2015

how to automatically enable nginx by default for all domains/subscriptions and or even just as a whole since we do not use apache at all.

View 18 Replies View Related

Plesk 12.x / Linux :: Alias Without Www Not Working

Aug 23, 2014

Configuration:
Config server / Preferred domain for web sites / domain.tld
Config hosting to domain / Preferred domain / domain.tld

Problem: I've created a primary domain.tld and work without problems I type www.domain.tld and work fine redirect to domain.tld format but I've created different alias and only work www.domain.tld format don't work domain.tld format.

In google webmastertools i see this error in domain.ltd panel

Redirect

HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 22 Aug 2014 18:09:28 GMT
Content-Type: text/html; charset=UTF-8
Content-Length: 0
Connection: keep-alive
Location: http://www.domain.tld/
X-Powered-By: PleskLin
MS-Author-Via: DAV
Vary: User-Agent

How can solve to Alias work with domain.tld format?

View 1 Replies View Related

Plesk 12.x / Linux :: Where To Add Domain Alias

May 5, 2015

Plesk 12. Using the "Corporate/Business" -> "Power User view".

Where do you add a Domain Alias? The webspace has no option to add this and all documentation I've found so far seems to indicate there should be a button that says add domain or add domain alias.

View 2 Replies View Related

Plesk 12.x / Linux :: Domain Alias Without Www

Feb 16, 2015

I want to setup a domain alias without www in front of it. A quite simple task in the past...but not with Plesk 12. So I have a service domain (for example: service.com) that I use for ALL clients. But each client has only a subdomain of it as alias in his account. so client1.service.com, client2.service.com....and so on. And only that subdomain...nothing more...for each account. How to achieve that in Plesk 12?

View 1 Replies View Related

Plesk 12.x / Linux :: Domain With Ton Of Alias - Not Showing All Of Them

Sep 15, 2014

I have a domain that has a ton of alias domains in my panel.

If I get it to show "All" entries per page, change it to "Active List", and get back to "Classic List", they show up correctly.

Nevertheless, I have to do it every single time I log in to the panel.

Pagination also doesn't seem to work in 10, 25 and 100 entries if I don't do that.

That started happening after some update on version 12.

View 19 Replies View Related

Plesk 12.x / Linux :: Wildcard Subdomains Of Alias Domains

Jan 3, 2015

System: Plesk Panel 12, updated on CentOS 6

Situation:
"Main-domain" domain with 2 "alias-domains" (301-forward). For "Main-domain" I created a wildcard subdomain. All works fine.

ToDo:
I want to create wildcard domains for both "alias-domains".

Problem:
It is not possible to create wildcard subdomains for both "alias-domains".

1. How to create wildcard-subdomains on "alias-domains"?
2. How do I disable Plesk to respond to every domain, which isnt covered by a wildcard?

View 6 Replies View Related

Plesk 12.x / Linux :: Domain Alias With Mail Address

Aug 25, 2014

When creating a domain alias in Plesk, I can activate Web, Mail and DNS. When I activate "Mail" I would think that I now can create a mail address with that domain (myaddress @ domainalias.com). But I can't. If I create a new one I only can choose between the "real" domains. Is this a bug or a feature?

View 2 Replies View Related

Plesk 12.x / Linux :: After Migration No Alias Email And Webmail

Nov 17, 2014

I have recently migrated from one server with Plesk 11 to another server with Plesk 12 and cant get the alias emails work properly like they worked before the migration. I can send emails from any alias@alias.domain (via Outlook), but cant receive them.I can receive emails only from the mailbox email of the main domain, but not for the alias-email of that mailbox for an alias domain that worked well for Plesk 11. Where might be the problem?

I have created a webmail.domain.tld in the Webmail-Services (where it says Horde 6.2.1 is installed), but the webmail.maindomain.tld is not working. I get displayed only the "webservers default page". Webmail.maindomain.tld worked well in Plesk 11.There is also no "Webmail" link in the domain control pannel like it used to be in the Plesk 11.I have created a new abonnement with a new domain to test this, but there is no Webmail link for this abonnement as well.

You message for <alias@alias.tld> from 2014/11/17 could not be delivered. 4.0.0 smtp; 454 4.7.1 <alias@alias.tld>: Relay access denied

View 2 Replies View Related

Plesk 12.x / Linux :: How To Install Wildcard SSL For Domain / Subdomain Hosted On Server

Apr 13, 2015

I am running a CentOS 6.5, 64-bit server with Plesk 12.0.18, and need to install a wildcard SSL for one of the domains/sub domains hosted on this server.

So you have the csr and private key installed (and domain.crt?), you just need to open..

1. COMODORSAAddTrustCA
2. COMODORSADomainValidationSecureServerCA

On your desktop and combine the two files into a new intermediate.crt file and upload that as the CA File.

But I'm not sure why you can't add it as text.

Click to expand...
Click for original message

View 7 Replies View Related

Nginx As Apache Proxy For Static Content -- Configuration

Nov 23, 2007

I am a non-tech person trying to configure Nginx to serve static content (apache will remain on port 80 for the dynamic stuff).

Nginx is already installed, what I need is a workable configuration file for nginx so that it serves all static stuff (images and a few folders with static html) and instructions in how to create it. The server is running DirectAdmin panel, Apache 2.24, PHP 5.23 and XCache 1.2.

View 12 Replies View Related

Plesk 11.x / Linux :: Setting Up Separate Mail Accounts For Domain Alias?

May 6, 2014

I've got a situation in which I need to have a set of mail accounts that share a domain name with a domain that's already in use as a domain alias and because the domain is already in use, I'm unable to create a new account using that domain. I tried explicitly adding "www" to the domain alias so I could keep the www.domain.com address as an alias and reserve the "domain.com" name for use as a separate account, but Plesk won't allow for that.

How to address this? The idea I'm currently considering is to delete the domain alias and then create the new account and manually set the DOCUMENT ROOT of the new account to refer to the other domain's document root. I'm sure this could create some difficulty in Plesk so I'm looking for input before trying it. I'm actually not even sure exactly where I would be able to redefine the document root with Plesk allowing the change and not overwriting it later.

If all else fails, I can setup a new account on a different and unrelated Plesk server, but I'd prefer not to do that.

View 2 Replies View Related

Plesk 11.x / Linux :: Remove Domain Alias Warns It Will Delete All Related Files

Sep 2, 2013

I think the wrong text is displayed for the option "Remove Domain Alias".

In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.

I think this is incorrect because removing an alias should not remove any files, directories, and web applications.

View 3 Replies View Related

Plesk 12.x / Windows :: How To Set Whole Website To Https And Redirect All Http To Https

Oct 7, 2014

I´ve read that a whole https website might be better for SEO than just a mixed version. So I want to change the whole website to https.

We are using Plesk 12 on Win 2008 R2.
One Website is using DotNetNuke 7.3.2.

How can I automatically set the whole website to https?

What happens to the users that just type domainname.com without http or https.?

What is the right search engine friendly technique to permanently redirect to the https version even when the user is not using the application protocol prefix http/https?

Where can I do the setup in Plesk 12 fro Windows?

Are their any other drawbacks that I have to think over before I do the changes?

View 5 Replies View Related

Plesk 12.x / Linux :: How To Redirect Http To Https

Mar 25, 2015

I have bought ssl certificate but if I open my site I think it is redirect to http because I dont see https. I use nginx like web server.

View 13 Replies View Related

Plesk 11.x / Linux :: How To Redirect HTTPS To HTTP

Jul 18, 2014

how can I make a redirect traffic to the site that I have over HTTPS in HTTP? Disabling SSL 404 using Plesk 11 with nginx + php-pfm

View 2 Replies View Related

Plesk 12.x / Linux :: How To Get Content From Hacker 9.5 To 12.0

Nov 1, 2014

my VPS hosted by Strato was hacked and seems to be part of a botnet now. Until now I thought that the automatic backups of the provider would be enough and I did no separate backups using pleskbackup. Unfortunately the hacker attack was earlier than my oldest backup.

Now I want to move the complete server content including the configuration of approx. 10 domains to a new one. Therefore I want to make a backup of the plesk 9.5 server using pleskbackup to import it on the new server running plesk 12.I can access the old server in recovery mode only, which means, that a recovery system runs with the content of the old server mounted under /repair. Is there a possibility to tell pleskbackup, that the content to backup is mounted under /repair? Otherwise it seems, that I have to move the content manually...(I tried starting the old server in normal mode, but it immediately starts doing evil things, so this doesn't seem a good option...)

View 4 Replies View Related

Plesk 12.x / Linux :: Forcing HTTPS Results Into Many Redirects

May 16, 2015

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] ....

Code:
proxy_error_log:2015/05/16 16:35:00 [crit] 21266#0: *2336 SSL_do_handshake() failed (SSL: error:140A1175:SSL routines:SSL_BYTES_TO_CIPHER_LIST:inappropriate fallback) while SSL handshaking, client: 64.41.200.106, server: 151.80.117.38:443
proxy_error_log:2015/05/16 16:36:37 [crit] 21266#0: *2616 SSL_do_handshake() failed (SSL: error:14094085:SSL

[Code] .....

View 11 Replies View Related

Plesk 11.x / Linux :: Splitting Http And Https Directories

May 21, 2014

We will be migrating from plesk 9 to plesk 11 and I am having some trouble finding a fix for something. Previously, http and https could either share a directory or have split directories (httpdocs and httpsdocs) for a site. Now all I see is httpdocs and I can't find a way to have separate directories.

View 6 Replies View Related

Plesk 11.x / Linux :: Selected Site On Default IP Via HTTPS

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

Plesk 12.x / Linux :: Redirect From Http To Https Wrong Hostname?

Nov 28, 2014

the hostname is www.domain.com also in the serversettings of plesk. When we go to http://www.domain.com:8443 we become redirected to https://www:8443. The only way to connect to plesk is to use https the redirect from http doesnt work.

View 1 Replies View Related

Plesk 11.x / Linux :: Https Redirect To Http After Installing SSL Certificate

May 15, 2014

After installing a RapidSSL certificate in a subdomain, https redirects automatically to http,

Plesk 11.5 with debian and last version openssl

Why https redirect to http when I setup the certificate?

View 1 Replies View Related

Moved Content From Root To Subdomain And Need To Redirect Visitors

Mar 16, 2007

I moved my content from www,mysite,com to subdomain,mysite,com. I'd like to direct people who come to my site from search engines to the new location of the content.

For example, if they searched for pink purse and the search result was www,mysite,com/pink_purse,html, when they click that link, I'd like for them to redirected to subdomain,mysite,com/pink_purse.html. Can this be accomplished with some .htaccess magic?

View 4 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway Using Nginx

Oct 30, 2014

Today at 12.50 pm my (ubuntu 14.04.1 LTS) server running plesk 12.0.18 suddenly stopped serving websites. Any attempts to access a webpage on any vhost returned the 502 bad gateway using Nginx error messsage.When I looked at the nginx logs, I found messages like:

2014/10/30 14:48:00 [error] 3099#0: *101 connect() failed (111:

Connection refused) while connecting to upstream, client: m.m.m.m, server: , request: "GET /server-status HTTP/1.0", upstream: URL....

Restarting apache & nginx (/etc/init.d/apache2 restart & /etc/init.d/nginx restart) made no difference and I had to reboot to restore http access.

Strangely if I browsed with port 7080 specified (i.e. http://n.n.n.n:7080), this worked fine for all vhosts, so apache (which I believe is listening on this port while nginx listens on port 80) is working fine - nginx is just not able to pass stuff to it?

View 15 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved