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.
Can't access website without WWW
Can't access website without WWW
I am not sure if this is the right place to ask this question
I installed VestaCP on a VPS by Digital Ocean
I tried to add a website (Example.com) using the VestaCP - configured the nameservers as follow:
I can access Example.com but I cannot access http://www.Example.com
I tried to use .htaccess
but it did not work
can someone please help?
thanks
I installed VestaCP on a VPS by Digital Ocean
I tried to add a website (Example.com) using the VestaCP - configured the nameservers as follow:
Code: Select all
Name Server: NS1.DIGITALOCEAN.COM
Name Server: NS2.DIGITALOCEAN.COM
Name Server: NS3.DIGITALOCEAN.COM
I tried to use .htaccess
Code: Select all
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.Example.com [NC]
RewriteRule ^(.*)$ http://Example.com/$1 [L,R=301]
can someone please help?
thanks
Re: Can't access website without WWW
Do you have an A record or CNAME record for www on digital ocean dns?
Re: Can't access website without WWW
so add a CNAME record for the same domain? (under add records?)SCelik wrote:Do you have an A record or CNAME record for www on digital ocean dns?
I used to be on a shared hosting and all I did was changing the name servers on the domain provider and used .htaccess file to redirect domains
Re: Can't access website without WWW
create a cname entry: www and set the value to yourdomain.tld