Redirect with frame forwarding (domain name stays in the address bar)
Do you want visitors on your domain to see a different website, while your domain name stays in the address bar? That's possible with frame forwarding (also called masked forwarding).
Please note: many websites don't allow themselves to be shown in a frame. In that case, the page stays blank. For search engines, there's almost nothing on your domain itself: the content visitors see comes from the other site. As a result, your domain usually won't be found with that content. Usually a regular redirect works better. Read Creating a redirect to another domain.
Frame forwarding is different from what Google calls cloaking. Cloaking is deliberately showing search engines different content than visitors, and that falls under Google's spam policy. A frame shows everyone the same thing.
How to create frame forwarding
- Log in to DirectAdmin and open System Info & Files, File Manager.
- Go to the folder
domains/example.com/public_html. - Create a file
index.htmlwith this content (replace the address with the site you want to show):
<!DOCTYPE html> <html><head><title>Your title</title></head> <frameset rows="*,0" frameborder="0" border="0" framespacing="0"> <frame src="https://www.voorbeeld.nl"> </frameset></html>
If there's already an index.php in the folder, remove or rename it, otherwise that one will be shown first.
Also see in the DirectAdmin manual: Opening File Manager: the folders in your package.
Detailed explanation with screenshots: Redirect Site: forwarding a domain or page in the DirectAdmin manual.
