How do i forward a domain to another domain in tinycp?
put somthing like this in your demain settings > custom config:
Redirect / https://domain.tdl
or work with mod rwrite in a .htaccess file in your domain root folder:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com [NC,OR]
RewriteCond %{HTTP_HOST} ^www.example.com [NC]
RewriteRule ^(.*)$ http://example.net/$1 [L,R=301,NC]
.net is the destination domain
You must be signed in to add your reply.