Change panel domain name

A quick question.

I have my panel setup at panel.domain1.tld, however, I am in need of moving the same to panel.domain2.tldinstead.

Is this something I can do via https://github.com/hestiacp/hestiacp/blob/release/bin/v-change-web-domain-name.

Something in example:
v-change-web-domain-name alice panel.wonderland.com panel.lookinglass.com yes

Use this command:

v-change-sys-hostname panel.domain2.tld
2 Likes

Thanks. Stupid me. How in the world did I miss it in the list of CLIs? Sorry for the unnecessary query from my end. :sad_but_relieved_face:

Also, I forgot panel is based on hostname.

2 Likes

Okay. I did this, but I am surely missing some DNS stuff here. I am still able to work from the old panel url, and not via the new url.

Still trying it out, and hopefully will work as I need it to.

Reason why I wish to move to a new URL is:

I have 2 domains in this one server. The old server has an awesome IP address (not blacklisted and no issues).

I have my own email domains etc and all my personal stuff there, and it is very heavy. I do not wish to break that, and move out rest of the OSS hosting services under second domain to the new IP. However, I had created the panel url under domain2 and not domain1. Now I wish to have the domain1 url as panel url. But seems, I am missing some simple DNS stuff for sure.

Just add the new subdomain as web domain and remove the old one.

Thanks. One quick question. the “system package” has limitation of 1 domain only. I wish to temporarily amend it to 2, so that I can do things properly. Which file should I modify (temp only) to make the domain limit as 2 for that? I do not want to change the package template for now.

You can modify the package manually: /usr/local/hestia/data/packages/system.pkg

1 Like

Trying now. I can see I need some time to get these done. But once, done should be perfect to set things up and move it to the new server.

1 Like

One more quick question please.

So, I successfully changed the hostname & the panel domain url. I am however still receiving postmaster emails from panel2.domain2.tld. I remember it is supposed to be somewhere in exim, but not sure where I can correct this to come from postmaster panel1.domain1.tld?

Ignore. Got it. The FROM_EMAIL=‘[email protected] in the /usr/local/hestia/conf/hestia.conf file.

& in the white lable as well in UI.

@sahsanu mate. So, everything went fine, but all of a sudden HCP has stopped loading from URL. It shows site cannot be found for the panel one. Odd. It was working till 5 minutes ago, and now all teh DNS entries, and everything seems to have vanished and url/address cannot be found anymore. I can work through IP login, but not via the url anymore.

Any suggestions, please?

It’s like the DNS is not working, or something similar. Every else works fine. SSH, FTP, other sites, just the HCP via URL is not accessible as site not found.

Edit: Turns out I had to change the DNS from child-ns to default. For some reason it was showing as childns.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.