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


ADVERTISEMENT

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

Support Wildcard Subdomains?

Aug 25, 2008

"Do you support wild card sub-domains?"

a web host has sent me the following:

"Wild card sub-domains will not work with our standard shared hosting accounts. although the DNS configuration is available to have any sub domain not listed direct to an IP address the actually hosting account will not recognize a wild card DNS entry unless you have manually added the specific name of the sub domain."

The only part I understood was the first line. Maybe it is my lack of hosting related knowledge or maybe because English is not my native language, the second sentence is very confusing to me.

What is tech rep trying to say?

View 12 Replies View Related

Symlink With Wildcard Subdomains

Jun 28, 2007

I'm trying to create a symlink (ln -s) in SSH with the goal of having a php-file to be able to be reached from my wildcard subdomains "username.domain.com". The reason is because of XMLHttpRequest that resides in the php-file. When trying to access it from username.domain.com I only get an error, because of the cross-domain issue.

Anyway, I got the suggestion of creating a symlink on the file system, but I can't really get the symlink right... Where should I place it on the file system?

This is the path to the script;

Code:
/home/web2753/domains/domain.com/public_html/ajax/status.php
I tried creating the symlink in various places, like in the /domains/ directory;

Code:
ln -s /home/web2753/domains/domain.com/public_html/ajax/status.php
But I don't seem to get it right! If I have understood everything correctly, I'm supposed to create a symlink for status.php so the Subdomains can access it as if it was placed directly under the subdomains.

This is what my .JS file looks like (with the XMLhttprequest, this might not matter..?)

Code:
/home/web2753/domains/domain.com/public_html/javascript/edit.js

Code:
var cururl = 'htp domain com'; // this forum didn't like this url?

function createRequestObject() {
var req;

if (window.XMLHttpRequest) {
req = new XMLHttpRequest();
} else if (window.ActiveXObject) {
req = new ActiveXObject("Microsoft.XMLHTTP");
} else {
alert('Problem creating the XMLHttpRequest object');
}

return req;
}

function handleDivTag(divtag) {
var divtag;
return divtag;
}

var http = createRequestObject();
var divhandler = new handleDivTag(null);

function sendRequest(ua_id,show,series) {
http.open('get', cururl+'ajax/status.php?ua_id='+ua_id+'&show='+show+'&series='+series+'&dummy=' + new Date().getTime());
http.onreadystatechange = handleResponseTwo;
divhandler.divtag = ua_id;
http.send(null);
}

function handleResponseTwo() {
if (http.readyState == 4 && http.status == 200) {
var response = http.responseText;
if (response) {
document.getElementById('editinfo'+divhandler.divtag).innerHTML = response;
}
}
}
Everything works except of the cross-domain issue which I'm trying to overcome by creating a symlink.

View 1 Replies View Related

Apache :: HTAccess Wildcard Subdomains

Jul 11, 2015

I have viewing the city names in my website like the following structure - [URL] ....

Here is the ,htaccess code - RewriteRule ^([^/]*)/([^/]*)/$ city.php?state=$1&city=$2 [NC]

But actually, I'm looking for to use wildcard subdomains that will rebuild the city names like the following structure-
city.mydomain.com/state/

I just need the htaccess rewrite code. 

View 1 Replies View Related

WordPress MU Godaddy Shared Hosting Wildcard Subdomains

Jan 5, 2009

I have a site hosted at Godaddy.

My hosting account is shared delux.

I have recently added multi blogger Wordpress MU.

A single main blog is working fine but all other blogs are showing errors.

I have installed for subdomains.

View 1 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 :: 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 CLI DNS Command With Wildcard

May 3, 2015

I want to run a script that will loop through all of the domains on a particular server and remove all MX records with mail.*.I am testing on a single test domain at the moment but I'm not sure how to do the wildcard./usr/local/psa/bin/dns -d example.com -mx '' -mailexchanger mail.*

The following example command is from: URL....To add an MX resource record mail3.example.com specifying domain name mail.example.com as the mail exchanger for the record, and setting the mail exchanger's priority to the DNS zone on the domain example.com to 15:

# ./dns -a example.com -mx mail3 -mailexchanger mail.example.com -priority 15..​What does the mail3.example.com got to do with it? Isn't it just adding a MX record mail.example.com?

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

Wildcard Domains And Email

Oct 17, 2009

I'm working on the idea of an email wrapping/branding service.

I'd like someone to be able to send an email to the service structuring the email address like this:[url]

The part in italics is the real destination and the part in bold is the address of my server.

I'll then parse the real destination out of the email, wrap it in some stuff and send it on.

From what I've read I need to set up a wildcard MX record. I've tried that but the emails just don't seem to get there.

I'd value your thoughts on how to deal with this problem and what questions I should be asking.

View 1 Replies View Related

Wildcard Domains And Name Servers

Sep 23, 2007

I am not a domain squatter (i.e. I don’t have thousand and thousand of domains). Though I do have a good amount of domains that I am not doing anything with because I register the domains to start new projects (that never get started, sigh)…

Anyways, is it possible to point the name servers of a mydomainexample.com to ns1.mymaindomain.com and ns2.mymaindomain.com and without actually parking it or creating a zone file / httpd.conf entry, have it redirect to my mainmaindomain.com?

(i.e. can I create a zone like *.* or virtual host *.* and have anything that isn’t in the config files all point to my maindomain.com)?

Hopefully, my post makes sense. If it is possible, please list a way on how to set it up as well.

View 2 Replies View Related

Plesk 12.x / Linux :: Wildcard SSL Certificate On Subdomain - Connection Untrusted

Dec 16, 2014

I have a new Plesk 12 installation. I have configured a domain (example.com) with hosting that also requires wildcard subdomains.

To achieve this I had to create a vhost.conf file with...

ServerAlias *.example.com

This works and I can go to http://anything.example.com with no issue.

I purchased a wildcard SSL certificate for *.example.com and successfully installed it.

If I go to https://example.com it works perfectly and shows the correct certificate, however if I go to https://anything.example.com it tells me the connection is untrusted, when I view the certificate, it shows the Parallels Plesk self certified certificate and not my purchased certificate.

I created a vhost_ssl.conf with

ServerAlias *.example.com
ServerAlias *.example.com:443 #tried with and without this line

If I add an exception in the browser, then I am taken to the correct place, albeit with the incorrect certificate.

Of course I have executed httpdmng --reconfigure-domain example.com and also tried a full reboot.

In summary:

http://example.com - works

http://anything.example.com - works

https://example.com works with my certificate

https://anything.example.com has Parallels certificate but routes to correct page

View 5 Replies View Related

Plesk 11.x / Linux :: How To Disable Wildcard Catch All For Master Default Domain

Aug 6, 2014

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?

View 1 Replies View Related

Plesk 11.x / Linux :: RapidSSL Wildcard Install - Invalid Certificate Format

May 16, 2014

"Unable to set the certificate: Invalid certificate format." when i enter my key..

How can i fix this problem?

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

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

Number Of Domains And Subdomains

Feb 27, 2009

I'm trying to figure out how many domains and subdomains I can get with each plan from Network Solutions, Enom and Yahoo. Is there any set standard of number of subdomains per domain? Network Solutions gives you one domain for two of their plans, three for the third, but says nothing about subdomains...

View 13 Replies View Related

Addon Domains And Subdomains

Aug 20, 2008

I have a main domain "main.com" and when I make a new addon domain "new.com", it creates a new DNS Zone for "new.com" but also adds a subdomain DNS entry to
main.com "new.main.com".

I know that is very typical way that cpanel works, and I know there are ways to work around this by using .htaccess.

What I am trying to discover is if removing the "new" subdomain DNS entry under main.com could cause any problems. Are there side effects? Will this break anything within my VPS?

View 8 Replies View Related







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