Plesk 12.x / Linux :: Subdomains Redirect Www Prefix

Jul 15, 2015

We are starting to migrate our servers to Plesk and are building all necessary processes with the plesk xml api.

If I create a subdomain via api

Code:
<subdomain>
<add>
<parent>domain.com</parent>
<name>example</name>
<property>
<name>www_root</name>
<value>httpdocs/web/</value>
</property>
</add>
</subdomain>

The vhost configuration at apache gets this part

Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.subdomain.domain.com$1 [L,R=301]
</IfModule>

So every subdomain is redirected to prefix www. But if I create the subdomain via plesk panel, the mod_rewrite isnt created, as i want. I also tried reconfigure-all, but this rewrite part is always active. I have no possibility in plesk 12.0.18 to set the setting for www prefix like at normal sites. So what can i do to prevent it and where can i change it afterwards?

View 1 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Subdomains Redirect To Primary Domain After Repairing Installation

Jan 23, 2015

Up until a week ago we had some troubles with package dependencies on our dedicated server running on Ubuntu 14.04.1. Plesk was totally out of reach, displaying 502 Bad Gateway pages and some other weird error on login_up.php3.

I fixed the dependencies by removing a lot of packages (including Plesk) and finally managed to reinstall Plesk using the autoinstaller, then repaired it using "/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh" (IIRC this whole bootstrapper folder was not present before reinstallation).

Now, after restoring our data from a backup pretty much everything works except for the subdomains. They all redirect to the primary domain's vhost (307 Redirect) for some reason.

"/var/log/apache2/access.log" shows the following after issuing a HTTP request to any subdomain:

Code:
<ip> - - [23/Jan/2015:23:15:31 +0100] "GET / HTTP/1.1" 307 244 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"
<ip> - - [23/Jan/2015:23:15:31 +0100] "GET / HTTP/1.1" 200 13397 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"

I have tried enabling and disabling nginx, it did not work. Then I just kept it disabled because it makes our forum think that everyone has the server's IP (because of the reverse proxy thing I assume).

Oh, and I should say: using HTTPS anywhere just gets me a 502 Bad Gateway error.

View 7 Replies View Related

Plesk 12.x / Linux :: Subscriptions Blocked On Change Domain Prefix

Jun 25, 2015

I have a Plesk 12.0.18 on Centos Server. All subscriptions works fine, but one subscription have a domain with this problem.

When i change the domain prefix to "www.mydomain.com" or to "mydomain.com", this still stuck to "Waiting...".

When this happens, the rest of the server still works fine, but will not let me make any changes to the rest of subscriptions.

I try to edit the apache vhosts, but this looks fine.

View 3 Replies View Related

Plesk 11.x / Linux :: Subdomains Other IP Destination?

May 26, 2014

I have a problem with a particular application.
I have a domain bbb.com
I create a subdomain a.bbb.com

I wanted to point my domain to a.bbb.com under a different ip my server. So I went in the parent zone bbb.com order to change the ip of this subdomain. After 48h nothing worked ...

There are 24 I changed the area to tell Plesk subdomain manages its own area, and I changed all the IP for the new, but nothing happens again, I'm afraid it is not that ...

Or how to check whether the implementation is consistent?

View 3 Replies View Related

Plesk 12.x / Linux :: DNS Error Subdomains Not Present

Jan 17, 2015

subdomains are not in the network can reach subdomains of the primary name server, but not to those of domains hosted on the server.Here's an example of the results for two domains, one server name and another one that is hosted on the server.

Server: webserveritk.com
http://verdns.com/webserveritk.com
http://verdns.com/www.webserveritk.com
http://verdns.com/claro.webserveritk.com

Domain in the server
http://verdns.com/itknow.red
http://verdns.com/www.itknow.red
http://verdns.com/blog.itknow.red

The same in all domains in the server

I think it must be an error in the configuration of the DNS, domains are registered work because an external Hosting (Strato.de), but all changes made on my dedicated server (such as creating a subdomain or webmail) do not appear it is as if my server reportase no changes to the parent DNS server. But not how to fix it.

View 1 Replies View Related

Plesk 11.x / Linux :: Can't View Subdomains And Webmail

Sep 28, 2014

I have a server in my house. My IP local is 192.168.1.61 and i have other ip static public. I can view my domain and one subdomain, but i don't view other subdomain and webmail.

View 1 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 :: Outgoing Mail Control For Subdomains Does Not Function

Apr 7, 2015

Plesk 12.0.18 Update #38
Cloudlinux 6.6

Outgoing mail control functions properly for domains, but it does not count or limit subdomains.

For example, if you have a subdomain like:
sub.domain.tld

And an email account on that subdomain, like:
info@sub.domain.tld

Then outgoing mail limits are not applied to that subscription/domain/mail account. You are able to send more emails than the limit.

Also, if you go to:
-> Tools and Settings
-> Outgoing mail control

And try to see statistics for that subscription/domain/mail account, it shows that there are not sent emails, even if you have sent emails. Of course I checked it many hours after sending, or even the next days.

View 2 Replies View Related

Nameservers :: NS1 Prefix? NS2 Prefix

May 16, 2008

when you signup for host they ask three questions:

Host name
NS1 prefix
NS2 prefix

If my registered domain name is xyz dot com, how I am going to answer these questions

View 6 Replies View Related

Plesk Automation :: Prefix For MySQL / FTP And Email Accounts

Mar 14, 2014

I've configured PPA management, web server and a mysql database server. Now I want that if a customer add a mysql, ftp or mail account, that the names begins with a prefix that I've defined.

View 4 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 :: Webstats Stuck In A Redirect Loop?

Mar 29, 2015

I am trying to access my web stats - AWStats is the one it is configured for.

But when I click to go to web stats a popup opens that gets stuck in a redirect loop so I cannot access them.

The url is right, like this, but with my domain : [URL]

View 11 Replies View Related

Plesk 12.x / Linux :: Redirect On Automated Login And HTTP Referrer

Oct 21, 2014

I'm trying to redirect users to database/mail management pages with automatic login link, while logging in part works ok, I have issues with redirections.

Plesk is installed on different server than my site, and if I try to use "success_redirect_url" param in link url, it will show this error "Original link and target URL should be on the same domain."

It works ok if I prevent browser from sending http referrer to plesk, but I'm not sure if it will work for all user as this depends on their browser.

Is this a bug? Is there a workaround that would not depend on used browser?

View 14 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 12.x / Linux :: New Install - All Domains Redirect To Landing Page?

Mar 5, 2015

Every domain that I have added just goes to the default Plesk landing page. I have:

* Added them as new subscriptions
* Added domains to a current subscription
* Verified that the index.html file is deleted
* Verified that vhosts is pointing to proper directory
* Confirmed that sites work when clicking 'preview'

If it matters, this is an Ubuntu install.

View 2 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

Plesk 12.x / Linux :: Creating Lot Of Email Address With Redirect And Send Copy To

Nov 28, 2014

Under plesk 12.0.18, I would like to create thousand email address with redirect and send copy to. Its a long work to do.

Is there a solution to create all these email via an import csv, xls or else ?

View 2 Replies View Related

Plesk 12.x / Linux :: Redirect All Hosted Domain Webmail To Main Hosting Webmail URL

Nov 29, 2014

My requirement is to redirect all hosted domain's webmail to the main hosting webmail url .. how can this be achieved ?

View 7 Replies View Related

Wildcard DNS Subdomains Working, But Existing Subdomains Not

May 7, 2007

I've set up the affiliate manager from jrox.com for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have username.clientssite.com and have it count their clicks - which works properly.

What isn't working properly is that he also has forums.hissite.com, which is loading the main website page instead of his forums. He is using cpanel to add the subdomain, and it isn't failing, so I'm not sure what's going on with it.

Here is the relative section from the httpd file.

Quote:

<VirtualHost 74.53.106.146>
ServerAlias residualvictory.com
ServerAlias *.residualvictory.com
ServerAdmin webmaster@residualvictory.com
DocumentRoot /home/residual/public_html
BytesLog domlogs/residualvictory.com-bytes_log
ServerName www.residualvictory.com

User residual
Group residual
CustomLog /usr/local/apache/domlogs/residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/
</VirtualHost>

<VirtualHost 74.53.106.146>
ServerAlias www.forums.residualvictory.com
ServerAlias forums.residualvictory.com
ServerAdmin webmaster@forums.residualvictory.com
DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/forums.residualvictory.com-bytes_log
ServerName forums.residualvictory.com

User residual
Group residual
CustomLog /usr/local/apache/domlogs/forums.residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/
</VirtualHost>

And the bind file for his domain

Quote:

; Modified by Web Host Manager
; Zone File for residualvictory.com
$TTL 14400
@ 86400 IN SOA ns1.lucidic.com. root.lucid.lucidic.com. (
2007050705
86400
7200
3600000
86400
)

residualvictory.com. 86400 IN NS ns1.lucidic.com.
residualvictory.com. 86400 IN NS ns2.lucidic.com.


residualvictory.com. 14400 IN A 74.53.106.146

localhost.residualvictory.com. 14400 IN A 127.0.0.1

residualvictory.com. 14400 IN MX 0 residualvictory.com.

mail 14400 IN CNAME residualvictory.com.
www 14400 IN CNAME residualvictory.com.
ftp 14400 IN A 74.53.106.146
forums 14400 IN A 74.53.106.146
www.forums 14400 IN A 74.53.106.146
* 14400 IN A 74.53.106.146

View 10 Replies View Related

Plesk And Subdomains

Apr 7, 2007

I would like to do the following but on Plesk 8.1.0 for Windows:
[url]

How should I do it?

View 0 Replies View Related

Dynamic Subdomains In Plesk

Nov 2, 2008

im trying to set up a site for a client whereby they can add subdomains to their existing domain (http://test1.client.com/, http://test2.client.com/, etc.).

its a dedicated server with Plesk...can anyone point me in the right direction please?

ive searched these forums but havent come up with much, but maybe didnt search for the right terms, so my apologies if this has been answered before.

View 1 Replies View Related

Plesk 11.x / Windows :: SSL Does Not Work For Subdomains

Jul 5, 2015

How to enable subdomain? I do not work for subdomains SSL...

View 6 Replies View Related

Plesk 12.x / Windows :: Adding Subdomains - This Page Can't Be Displayed

Jan 17, 2015

Adding simple subdomain in plesk panel hosted on windows 2012, but browsing the subdomain returning:

This page can’t be displayed....

View 4 Replies View Related

How To Prefix A Www

Jul 10, 2009

One of our clients website runs only if we give the domain name with http and www and domain name
When we give just http and the domain name it shows 404

Can some one help me how to change it so that it will take with www and without www?

I am not able to post link am a very new member here.

View 11 Replies View Related

Setting WWW Prefix

Jun 15, 2009

I have a problem with a couple of the domains on my reseller account.

Although apparently configured the same as other domains I am unable to set the default URL to use the www prefix using .htaccess. When I try I get a redirect loop error.

You can visit one of the problem domains here: [url]

If you stick www in front you will see that it resolves to the non-www version.
Any idea where this is taking place?

View 3 Replies View Related

No Index With Prefix Www

Mar 9, 2007

I have a client who's index will not come up when using "www". Of course I have checked the dns severs and all is well.

View 4 Replies View Related

Linux Iptable Rules - Redirect Web Server

Jul 24, 2008

I am having an issue with redirecting our local (inside network) traffic to our new web server via iptables in Linux. The setup we have right now is a Linux server (old web server and current firewall) and a new Windows 2003 server for the new web server.

Linux IP: 192.168.0.1
New Server IP: 192.168.0.22

-A PREROUTING -i eth0 -p tcp -m tcp --dport 80 -j DNAT --to-destination 192.168.0.22:80

The above works great for everyone outside the office but the internal network still sees the old web server (same box as this firewall).

I thought I could redirect the older server's ip to the new server for the internal office but this did nothing.

-A PREROUTING -p tcp -d 192.168.0.1 --dport 80 -j DNAT --to-destination 192.168.0.22:80

I then changed the 192.168.0.1 to our real ip number and this might be closer but the website now times out (packets getting lost maybe?).

View 3 Replies View Related







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