Forwarding with frame forwarding (domain name stays in the address bar)
Want visitors to see a different website on your domain, while your domain name stays in the address bar? You can do that with frame forwarding (also called masked forwarding).
Frame forwarding is not the same as what Google calls cloaking. Cloaking means deliberately showing search engines different content than visitors, and that falls under Google's spam policies. A frame shows everyone the same thing.
How to set up 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>Jouw titel</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, delete or rename it, otherwise that file will be shown first.
See also in the DirectAdmin manual: Opening File Manager: the folders in your package.
Detailed explanation with screenshots: Site Redirection: redirecting a domain or page in the DirectAdmin manual.
Want to learn more? Take the free course Getting Found Online, lesson 8.3 Moving or redesigning without losing your search visibility.
