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.
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
"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.
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: 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.
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
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.
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?
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?
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
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?
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.
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?
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.
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.
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.
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
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 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..
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?
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.
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.
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?
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.
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...
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?