We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Forward/Point domain in VestaCP
Forward/Point domain in VestaCP
Hello,
Does anyone know how i can forward a domain to another in VestaCP?
For example i have 2 domains example2.com ---> example.com
Does anyone know how i can forward a domain to another in VestaCP?
For example i have 2 domains example2.com ---> example.com
Re: Forward/Point domain in VestaCP
Depends what you want to achieve.
Add domain alias or make htaccess redirect (or any other option).
Add domain alias or make htaccess redirect (or any other option).
Re: Forward/Point domain in VestaCP
abad wrote:Depends what you want to achieve.
Add domain alias or make htaccess redirect (or any other option).
I fixed it using htaccess redirect thanks for the tip
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^OLDDOMAIN\.com$ [NC]
RewriteRule ^(.*)$ http://NEWDOMAIN.com [R=301,L]