Cheap Web Space, Domain Name: |
Question: |
|
Unfortunately nothing found on "".
in the United States (Chicago, IL): 1 (815) 526-7037, Fax (in Germany) +49 30 32 70 18 91
Skype: bitpalast
One moment please … your browser is loading the page.
Symptom
You want to show pages from domain B when a user requests them from domain A, but you do not want to reveal that the content is coming from domain B. The URL of domain A shall remain visible in the web browser.
Solution
Create an .htaccess file in the document root directory of the website that shall display conten from another. Add this line to it:
RewriteRule ^(.*)$ http://SOURCE.TLD[/DIRECTORY]/$1 [P,L]
Instead of SOURCE.TLD enter the domain from where the content shall be delivered. Optionally you can add a subdirectory path (DIRECTORY). Examples:
RewriteRule ^(.*)$ http://www.my-source-domain.com/$1 [P,L]
RewriteRule ^(.*)$ http://www.my-source-domain.com/content-directory/$1 [P,L]
In addition, these changes must be made in the web server configuration:
1. Log in to the web space control panel and click on the "Websites & Domains" tab.
2. Click on the "Apache & nginx Settings" icon.
3. In the “Additional Apache Directives” section, enter the following two lines in the “Additional Directives for HTTP” and “Additional Directives for HTTPS” fields:
ProxyRequests On
SSLProxyEngine On
4. In the "nginx Settings" section, uncheck "Serve static files directly by nginx" and "Smart Static Files Processing ". Neither one must be active.
5. Click on the "OK" button.
Overview of frequently asked questions
x0>
Additional ![]() |
---|
Starter Server: Affordable web server from 3.73 US$ () /month with PHP, database and many more
|
"Cheap Web Space": Affordable web space, cheap web server, low-cost webserver, low-price web servers: fast web server / small web server (cheap web space). Web server for private homepages / small website projects.
in the United States (Chicago, IL): 1 (815) 526-7037 •
GmbH, Sensburger Allee 27, D-14055 Berlin (Germany)
Your purchase is tax-free, because you order from a non-EU country. © 2024 GmbH. All rights reserved.
and the
logo are registered trademarks of
GmbH. For photo credits see imprint.