You can use the mod_rewrite module by creating a .htaccess file. To enable the mod_rewrite module, create a .htaccess file and please type the following entry:
RewriteEngine On RewriteBase /
Example: Redirect to another Website
RewriteEngine on RewriteBase / RewriteRule (.*) https://swizzonic.ch/$1 [R,L]
Save the file as a textfile with the extension “.htaccess” and upload it in the root directory of your web, where your homepage is.
More information: Apache-Webseite Rewrite-Guide