You are here
Andrew Stewart - Wed, 2012/06/27 - 00:26
How do you change the hostname of an instance after it's been initially set in the hub?
Forum:
How do you change the hostname of an instance after it's been initially set in the hub?
It depends...
If you set the hostname after the instance was deployed, then you can just release it in your account profile and allocate a new one on the server record.
But if you set it on the launch page, then it was preconfigured on the server itself, in which case you should make the change on the server itself. Log in via ssh/webshell and do the following:
Hope the above helps...
custom domains?
What about with custom domains? I got the following:
Not updating
Ok so I was unable to run hubdns-release, but I could remove the entry from the tkl hub domain management page. I'm assuming that accomlishes the same thing.
should actaully be I think, right?
Then a hubdns-info confirms that my desired dns entry is pointing at my machine.
However my hostname does not seem to be resolving (it was resolving fine earlier when I put a manual dns entry in mapping my hostname to the current IP but I think that wouldn't update when the IP changes.
I also had an elastic ip associated with the instance, so I'm not sure how that would have affected hubdns.
Any advice?
Local caching or propagation issues?
Oops, sorry about the typo - yes, I meant hubdns-init (fixed in my original comment).
You're correct, you can only release a tklapp.com hostname - custom domains can't be released, as there really is nothing to release - thats just a feature of tklapp.com.
As to why it's not resolving, my guess is either local caching or propagation latency. What DNS servers are you using? I recommend using Googles 8.8.8.8 and 8.8.4.4 as they are super fast and comply with DNS TTL's correctly (unlike some ISP's DNS servers I've come across).
Add new comment