You have a site (eg. and a page of this site dedicated to photography (eg. . For some reason you buy another domain (eg. and want to render your photography.html page below this new domain.

Use a htaccess file running Apache server to solve that. How?

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^$ photography.html [L]
RewriteRule ^(.*)$$1 [P]

And upload it to you new domain renaming the name to .htaccess .


  1. First rule will redirect to
  2. Second one will "render" every under domain, and keeping this url domain even navigating between different pages (that's why there's a [P], standing for Proxy).

Hope you you find it useful.