Page 1 of 1

change hostname of vestacp

Posted: Sun Oct 02, 2016 4:28 am
by uma1r
Hi there,

When I installed vestacp on my Centos.. I picked the hostname as 'vesta.mysite.com'... I installed wordpress on that..
Now all the emails (using mailgun stmp) that wordpress sends, it shows my email as "[email protected]".

I am not using this subdomain. I dont even have anything on subdomain or a subdomain.. All the wordpress installation and everything in on my main domain.. I want everything on my main domain (e.g. on mysite.com)...

So, how do I change hostname from "vesta.mysite.com" to just "mysite.com", without hurting anything on my server.
I'd appreciate you help

sincere regards

Re: change hostname of vestacp

Posted: Mon Oct 03, 2016 12:16 pm
by tjebbeke
I think you can change the from email in your smtp settings from mailgun.

You can change your hostname just by running:
hostname mysite.com

You also need to set/change your Reverse DNS record!

Re: change hostname of vestacp

Posted: Mon Oct 03, 2016 8:21 pm
by uma1r
tjebbeke wrote:I think you can change the from email in your smtp settings from mailgun.

You can change your hostname just by running:
hostname mysite.com

You also need to set/change your Reverse DNS record!
Hi,

By dns you mean my all cname records etc?

My all dns records are already mysite.com and everything is working fine.

Re: change hostname of vestacp

Posted: Mon Oct 03, 2016 9:32 pm
by uma1r
tjebbeke wrote:I think you can change the from email in your smtp settings from mailgun.

You can change your hostname just by running:
hostname mysite.com

You also need to set/change your Reverse DNS record!
Hi,

I ran 'hostname' command and I see the hosting is already mysite.com..
So, what could be possibly the reason for that..

I am confused because I am 100% sure that I put vesta.mysite.com in hostname when I installed.. That's why from email is shown as '[email protected]'... However, in hostname command when I run, it just shows mysite.com.

Re: change hostname of vestacp

Posted: Tue Oct 04, 2016 11:55 am
by skurudo
uma1r wrote: So, how do I change hostname from "vesta.mysite.com" to just "mysite.com", without hurting anything on my server.
I'd appreciate you help
You can use WebGui to do this
Server -> circle with gear -> Hostname

Re: change hostname of vestacp

Posted: Wed Oct 05, 2016 2:15 am
by uma1r
skurudo wrote:
uma1r wrote: So, how do I change hostname from "vesta.mysite.com" to just "mysite.com", without hurting anything on my server.
I'd appreciate you help
You can use WebGui to do this
Server -> circle with gear -> Hostname
Hi,

I just figured out that my hostname is mysite.com .... However, my "Web" is added as vesta.mysite.com and I cant seem to change it from vesta cp... Is there any way I can change it? :(