Plesk 11.x / Linux :: Domain Forwarding With HTAccess
Jun 14, 2014
I have re-built a website on a new domain. Now I want to redirect http://www.olddomain.com/anything or http://olddomain.anything to www.newdomain. Because the file structure is totally different, I want all redirections to go to the Home Page of newdomain.
Initially, I used Standard forwarding in the Plesk CP but that attempts to keep the filename the same. So www.olddomain.com/wibble tries to go to www.newdomain.com/wibble. But wibble dies not exist on the new domain.
Should I use htaccess with physical hosting instead on olddomain.com? Is the following correct?:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^olddomain.com [NC]
RewriteRule ^(.*)$ http://www.newdomain.com [R=301,L]
Will that basically cover any request? Anything that people have saved or which appears in Google searches, no matter whether http:// or http://www.
And for neatness on the new domain, I would like to add www to any request like http://newdomain.com/whatever to go to http://www.newdomain.com/whatever which I think means that Google analytics will report more accurately.
So would my htaccess file on newdomain.com be like this?:
Code:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^newdomain.com [NC]
RewriteRule ^(.*)$ http://www.newdomain.com/$1 [R=301,L]
View 3 Replies
ADVERTISEMENT
Apr 23, 2015
I want to add a subdomain foo.bar.com to a master domain bar.com in the subscription bar.com. Normally this works but if I set the hosting type of the master domain to forward, I cannot add subdomains anymore. If I have already added a subdomain, I cannot change the hosting type of the master domain. Also it is not possible to add a second domain to the subscription anymore.
View 6 Replies
View Related
Apr 29, 2015
URL....We are running Plesk 12 on a Linux VPS where we have multiple domains running.Multiple of these domains should redirect from www. domain name. ext to https://ext.domainname.com.This is configured with the Domain forwarding in Plesk, with hosting type Forwarding.But as described in the 2 links provided above, whenever you go to https://www.domain.ext, it does not redirect, and actually shows a Security error, since the domain doesn't have the SSL-certificate installed (because it should redirect to the https://ext.domainname.com).
Clearly we don't want visitors on the website to receive the (incorrect) Security error, and we want all traffic to http(s)://www.domain.ext to be redirected to the appropriate subdomains. allows us to redirect both the https/http connections to the domains, without forcing us to have the domains have a Website hosting add redirect them manually with (for example) .htaccess.
View 1 Replies
View Related
May 13, 2014
OS: CentOS 6.5 (Final)
Panel version: 11.0.9
I can receive email and check them via Horde but i'm unable to get them forwarded to my gmail account.Is there anything i can check/do ?I'm an ex-cpanel user.
View 4 Replies
View Related
Feb 21, 2015
I setup an email account into my Plesk 12 to automatic forwarding all emails to an gmail address. But Gmail put all mails received into the Spam folder.
I revised the mail Header and its a SPF softfail causes because my server is not rewritting the sender envelope.
How can I activate SRS on my Plesk
View 5 Replies
View Related
Sep 16, 2014
I update my plesk 11,5 to 12.And I activate (limit control for smtp)After this action the email forwarding fails in all domains of plesk.This is the mail system at host fsyc.org. You can delete your own text from the attached returned message.
Reporting-MTA: dns; fsyc.org
X-Postfix-Queue-ID: 5B51E2E800BC
X-Postfix-Sender: rfc822; rbuila@robertobuil.com
Arrival-Date: Tue, 16 Sep 2014 14:21:10 +0200 (CEST)
[code].....
View 4 Replies
View Related
Aug 23, 2014
Many of our clients create e-mail accounts that forward incoming e-mail to mailboxes hosted on other e-mail services. e.g., Gmail.
Lately, though, a handful of these accounts have been receiving a lot of spam (i.e., UCE) and that's been causing a lot of damage to our reputation with these other e-mail services because the message that's being forwarded appears to have originated from our servers.
Code:
<someuser@gmail.com>: host gmail-smtp-in.l.google.com[64.233.183.27]
said: 552-5.7.0 This message was blocked because its content presents a
potential 552-5.7.0 security issue. Please visit 552-5.7.0
http://support.google.com/mail/bin/answer.py?answer=6590 to review our 552
5.7.0 message content and attachment content guidelines.
g20si28780491ici.46 - gsmtp (in reply to end of DATA command)
Is there some way to...
Find accounts that are configured to forward to gmail?
Disable forwarding in accounts that are configured to forward to gmail?
View 4 Replies
View Related
Nov 11, 2014
I have two sites that register a high amount to SMTP traffic. Both sited have only forwarding email addresses.
Do forwarding addresses accumulate SMTP traffic on the log?
Also, if a forwarding email is created without a mailbox is it necessary to add a password so that "others" cannot use the blank SMTP server to send email out?
View 2 Replies
View Related
Dec 6, 2014
I have installed Plesk 12.0.18 on my server and want to change the hosting-type from "Forwarding" to "Web hosting". I change the type via "Websites & Domains" view (see attachments).
After I insert username and password, I get following error message:
Some fields are empty or contain an improper value. ('home' = '')
Deleting the domain and creating it from scratch is a bad option. I would have to create all e-mail accounts and migrate the data.
View 7 Replies
View Related
Apr 9, 2013
I have mail-addresses with mailbox turned OFF and Forwarding switched ON.
The user can receive emails but can't use SMTP to send email. I expect that users without mailboxes can send messages, like in Plesk 9.5.
Error: No such user 'info@example.com' in mail authorization database
CentOS 6.4 + Plesk 11.0.9 Update #45
View 9 Replies
View Related
May 18, 2009
I am moving content from old.domain to new.domain
However I am at the same time retaining the old.domain to keep the older links working
I want that the old.domain/link redirect to new.domain/link
Please advice what would be best to do for the old.domain -
1) Domain forwarding
2) Domain parking
or Both the above
(The other thing is that I would like to do 301 redirect - would this happen automatically by activating the above options - or something else has to be done)
View 14 Replies
View Related
Jun 12, 2009
I dont want to forward the complete domain to another location just a certain directory either photos.domain1.com TO domain2.com/photos or simply [url]TO [url] But I want it to be masked too and I do NOT want forward any other address from [url]Is there a way I can set this up? both sites are hosted with Godaddy.
View 7 Replies
View Related
Sep 4, 2008
I registered the following domain: spirit-of-georgia.net and created a re-direct (forwarding) through our CONFIX panel to this URL: http://www.english-test.net/forum/ftopic27561.html
Then I realized that this URL shouldn't contain the hash (?) and that the correct URL should be http://www.english-test.net/forum/ftopic27561.html
So I removed that forwarding to that address. However, the forwarding is still in place. I've used this script: ........
View 1 Replies
View Related
Dec 26, 2005
I've taken a reseller account from ResellerZOOM which came with WHM/cPanel. I've my own private nameservers(meaning I got my own IP). I've a domain that I want to be forwarded to my wordpress.com blog, just like domain registrars offer domain forwarding but the registrar I registered my domain with doesn't give domain forwarding. so I was thinking that maybe I can point the domain to my nameservers & then have it forwarded to my wordpress.com blog. The thing is that I haven't used WHM before & I don't know how to do it, create some DNS zone maybe!!
The only way I know is to create an account for that domain, allot it some diskspace & then redirect via .htaccess file, which would be overkill IMHO. I know it can be done without creating an account, some other way.
View 3 Replies
View Related
Nov 16, 2014
When I hit my server's domain it redirects me to one of the hosted sites' domain with a 302 redirect. It used to return the default plesk server page. How can I cancel the redirect?
View 2 Replies
View Related
Sep 18, 2005
just a quick question, i have two domains www.abc.com and www.abc.co.uk.
With web forwarding typinng www.abc.co.uk will get me to
www.abc.com and from there i have browse the www.abc.com site.
However I want www.abc.co.uk to be the duplicate of www.abc.com. So i can browse a www.abc.co.uk.
Therefore typing www.abc.co.uk will stay on there and i can browse (www.abc.co.uk/aboutus.htm, www.abc.co.uk/contact.htm....etc).
Do i just need to change the namserver tags or do i change the DNS.
View 2 Replies
View Related
Jan 10, 2008
We have a bunch of domains we use to forward into various locations on our site, so for instance: [url] would forward to [url].
I am currently running a Windows 2k3 Server with IIS6. The way I achieve these forwards is to set up another site, put the forwarding domain in the host header, then have it forward out to my desired directory. However, now Google has been picking up my forwarding domains with their robots, and getting addresses like [url],
which does not exist, just [url]does, so people are getting returned a lot of 404 errors.
How can I stop this? Am I setting up the domain forwarding wrong?
View 0 Replies
View Related
Jan 1, 2007
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
That's the wordpress .htaccess
What makes me wonder is if we delete RewriteCond %{REQUEST_FILENAME} !-f, it won't work.
As if there is a recursion. However, there can't be a recursion given the [L] thing right?
View 0 Replies
View Related
Oct 21, 2007
I have what I think is kind of a unique situation with a site move and Google is not turning up an answer that seems to work.
My site is currently in this format:
www.mydomain.com/site/file.html
And I am "moving" it but also switching from html to php, so the same file would be found at:
site.mydomain.com/file.php
I want to redirect users going to the old pages to their equivalent on the new site, however this is a little bit of a problem because this is a normal subdomain - it is the same directory as before but now there are php versions of the html files.
Right now I have all of the http files redirecting to their php equivilents, but I don't believe this is a desirable solution. Also it creates a problem when people go to www.mydomain.com/site (not indicating a specific file; just the subdir root) because I have www.mydomain.com/site/index.html redirecting to www.mydomain.com/site/index.php.
Quite a mess.
My first option is to put the redirects in the htaccess file on the "old" site. But is this a problem because there are over 500 pages on the site? Does it create a heavy server load because any requests force the server to serve a huge htaccess file?
The next alternative seems the most preferable although I'm not sure how to do it. It seems it could use wildcards so that anyone going to *.html gets directed to *.php or something like that. The only problem is that there are a small number of files that were removed completely and do not have php equivilants (about 5 or 6) and would need to redirect to the index.php in the root
View 14 Replies
View Related
Mar 30, 2014
I'm trying to set up a login script on twenty subdomains that will be checked on another subdomain. I've found this example for different domains and figure it should be simple enough to utilise but my ereg is crappy
<IfModule mod_headers.c>SetEnvIf Origin "http(s)?://(www.)?(domain1.com|domain2.com)$" AccessControlAllowOrigin=$0$1Header add Access-Control-Allow-Origin %{AccessControlAllowOrigin}e env=AccessControlAllowOrigin</IfModule>
View 4 Replies
View Related
Oct 28, 2007
I've setup my ssh to login with keys and passphrase. I would like to do away with passphrases by using agent forwarding. Putty uses Pageant to store private keys, bu from all the tutorials I can find, it's a windows based feature (to add private keys). I've also tried to use ssh-add (a different agent), but it has trouble recognizing my private key passphrase (made with putty). I know the private key is working because I'm able to use use ssh without a password, just the phrase.
What's the best way to do this? Is there a putty pageant command line that I don't know about?
View 2 Replies
View Related
May 8, 2009
I am trying to find an application that can listen on a given UDP port, say "6271" and forward all traffic (UDP) sent to that port to another IP (not on the same subnet).
I should not call this forwarding, but instead, cloning (because forwarding usually is only on the same subnet or vlan). The packets should not be modified, (thus IP information in packet ect.)
Is this possible? I have tried some applications such as,
samplicator
View 4 Replies
View Related
Jul 1, 2015
I have maindomain.com addon-1.com addon-2.com addon-3.com
The addon domains are folders in main domain's root.
The problem is maindomain's htaccess is affecting the addon domains. I want the add on domains to have their own htaccess. The addon domains should not be influenced by main domain's htaccess
I did some research online and someone says this method works:
Code:
RewriteCond %{HTTP_HOST} ^(www.)?addon_domain.com
RewriteRule .* - [L]
But the above assumes you only have one addon domain. I have multiple.
Which code is correct? This
Code:
RewriteCond %{HTTP_HOST} ^(www.)?addon-1.com
RewriteRule .* - [L]
RewriteCond %{HTTP_HOST} ^(www.)?addon-2.com
RewriteRule .* - [L]
RewriteCond %{HTTP_HOST} ^(www.)?addon-3.com
RewriteRule .* - [L]
Or this
Code:
RewriteCond %{HTTP_HOST} ^(www.)?addon-1.com
RewriteCond %{HTTP_HOST} ^(www.)?addon-2.com
RewriteCond %{HTTP_HOST} ^(www.)?addon-3.com
RewriteRule .* - [L]
do I put the code at the beginning of main domain's htaccess?
View 3 Replies
View Related
Oct 11, 2014
I've have a problem with a server : we have create as usual certificate with Tools > SSL certificates.
When we want to put certificate with the domain, we don"t have the "Secure your sites" menu in the "websites and domains" sub category.
Why ? How can i activate the certificate with the domain ?
View 5 Replies
View Related
Feb 5, 2015
For a Magento shop I want assign a dedicated IP to a domain. When I choose this second IP in “Subscriptions” --> Change Hosting Settings” and then select this IP under “Tools and Settings --> IP Addresses” as dedicated (or shared too) for this domain, calling the domain results in the Webserver´s default Plesk Page.
The Shopsite is not shown, but was working well with the shared standard IP.
Calling the IP directly with the browser shows the start page of the shop in raw HTML ( no CSS ).
Choosing a link results in a “Not found” page.
View 4 Replies
View Related
Jul 14, 2015
I am trying to change the default php settings under domain (upload_max_filesize & post_max_size) but nothing happens. I am running PHP 5.5 in FastCGI. I also changed it to Centos default PHP (5.4.16) but nothing happens again. It only works when PHP runs as Apache module. The problem is on FastCGI Application.
My server: Centos 7, Plesk 12 Check the screenshot for installed components.
View 18 Replies
View Related
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
Feb 24, 2015
How I create DNS in Plesk for a domain?
Dedicate server from server4you with centos.
There is some problem with my email and developer tell me this yesterday:
To view DNS records for a domain you need to (after loging in as admin) click on the domain name, then choose DNS Settings. Mx record is configured correctly there, but they are not taken into consideration.
You should change the nameservers from the registrar to the nameservers of your hosting. Right now the following are used: ns-canada.topdns.com. hostmaster.topdns.com .
They should be either the nameservers received from the hostings, or if you did not received any then you will have to create them, on the registrar side and on your hosting side.
So you should go to your registrar and change the nameservers for your domain. Do not just change the ip for the main A record. After you do this you will need to wait a while for the changes to propagate.
On my registrar have i set in my server ip but when him do a test here: [URL] ....
View 1 Replies
View Related
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
Oct 30, 2014
Error: IP addresses for mail service of domain <domain> are not set..This is error I'm getting. It was working some time ago, but now I cannot create new domain.
View 19 Replies
View Related