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.
Changing default domain
Changing default domain
Hello,
I want to change default domain (default.domain) to mydomain.com
How do I accomplish that?
oh, and I want my default domain (mydomain.com) to serve https only.
Thanks in advance.
I want to change default domain (default.domain) to mydomain.com
How do I accomplish that?
oh, and I want my default domain (mydomain.com) to serve https only.
Thanks in advance.
Re: Changing default domain
If I'm understanding you correctly, you should remove that domain from the the WEB and DNS pannels, and then just add mydomain.com to the WEB panel, and it'll automatically create itself in the DNS panel aswell. Make sure to set your proper name servers in your USER section.cagatay wrote:Hello,
I want to change default domain (default.domain) to mydomain.com
How do I accomplish that?
oh, and I want my default domain (mydomain.com) to serve https only.
Thanks in advance.
Check out this guide, it's one of the best I've ever found for VestaCP: http://www.servermom.org/add-new-website-vesta-cp/1066/
On a side note, I want to ask: How can I check what my default hostname is, and can I change it?
Last edited by Ton10 on Thu Dec 04, 2014 4:47 pm, edited 1 time in total.
Re: Changing default domain
Actually I want ip address to point "default" mydomain.comTon10 wrote:If I'm understand you correctly, you should remove that domain from the the WEB and DNS pannels, and then just add mydomain.com to the WEB panel, and it'll automatically create itself in the DNS panel aswell. Make sure to set your proper name servers in your USER section.cagatay wrote:Hello,
I want to change default domain (default.domain) to mydomain.com
How do I accomplish that?
oh, and I want my default domain (mydomain.com) to serve https only.
Thanks in advance.
Check out this guide, it's one of the best I've ever found for VestaCP: http://www.servermom.org/add-new-website-vesta-cp/1066/
On a side note, I want to ask: How can I check what my default hostname is, and can I change it?
now when I type ip address, it displays default.domain
if I delete default.domain then add a web... who knows what the ip will return.
there is no option in panel to "set this web as default"
Re: Changing default domain
The first domain that you add is going to be the domain that the IP address returns when you go to it directly.cagatay wrote:Actually I want ip address to point "default" mydomain.comTon10 wrote:If I'm understand you correctly, you should remove that domain from the the WEB and DNS pannels, and then just add mydomain.com to the WEB panel, and it'll automatically create itself in the DNS panel aswell. Make sure to set your proper name servers in your USER section.cagatay wrote:Hello,
I want to change default domain (default.domain) to mydomain.com
How do I accomplish that?
oh, and I want my default domain (mydomain.com) to serve https only.
Thanks in advance.
Check out this guide, it's one of the best I've ever found for VestaCP: http://www.servermom.org/add-new-website-vesta-cp/1066/
On a side note, I want to ask: How can I check what my default hostname is, and can I change it?
now when I type ip address, it displays default.domain
if I delete default.domain then add a web... who knows what the ip will return.
there is no option in panel to "set this web as default"
If you delete default.default and everything else, and then just add mydomain.com to the WEB section (and it automatically gets added in the DNS section), then when you type in your server IP you will get mydomain.com by default. All other domains will just be setup as virtual hosts by Apache so don't worry about it. Go ahead and delete it and add your domain and enjoy.
Re: Changing default domain
How to change it manually? I want setup as default domain that added "not first".The first domain that you add is going to be the domain that the IP address returns when you go to it directly.
Re: Changing default domain
In one of my posts here I explain how the "default" site is picked, when you enter only the IP address. This might help you.