Choosing a domain name

spatialguru
Posts: 14
Joined: Fri Dec 05, 2008 10:00 am

Choosing a domain name

Postby spatialguru » Fri Dec 05, 2008 10:04 am

During installation you must provide a domain name. Some documentation suggests home.com, but I often use home.local just so that OpenDNS doesn't try to connect me to the real home.com when I have troubles.

Anyway, my question is based on the recent question on the list... how do I change my domain name after installation?

The final answer was basically having to reinstall Amahi - but even then perhaps we can get a thread here that describes the process. I know how to manually change a name, but I'm ignorant of how deep this goes into Amahi.

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Choosing a domain name

Postby cpg » Fri Dec 05, 2008 8:20 pm

It goes pretty deep, as it affects
  • samba (names for the workgroup in lmhosts)
  • each web app foo has a ServerAlias of foo.home.com in the conf
  • networking/dns also needs reconfiguration
  • then services need to be restarted, and last but not least,
  • it will not take effect until the clients refresh their leases
We have mechanisms to re-generate those configurations (hda-install file, restarting services, etc.), however, they are not all "hooked together" in a single point that can seamlessly trigger a reconfiguration when the name is changed.

Then some non-amahi-specific services may "acquire" the local name and may need to be restarted (perhaps cupsd, or mysql, or mt-daapd, nfsd, etc.). We don't know how many of these there may be.

It's non trivial, since this was not a design goal, basically.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

erauch
Posts: 1
Joined: Mon Dec 15, 2008 2:52 pm

Re: Choosing a domain name

Postby erauch » Mon Dec 15, 2008 2:57 pm

This was a good question and I think you Amahi Guys need to put more emphasis on the selection of this domain name in your install directions since it is such a non-trivial thing to change after install. I personally installed with home.com not realizing it couldn't be changed easily. I then changed to Rauch.com, which is what is seen by my Windows machines, but if you look at their IP's it still references home.com. After all the hoops I had to jump through just to get this installed, (dealing with Fedora 9 PGP bugs and updates.) I think I am going to punt - remove Amahi and go back to FreeNas. Not to mention FreeNas doesn't use 3 gigs of my storage space like Amahi. But the product has come along way! Cheers!

EdR

User avatar
cpg
Administrator
Posts: 2618
Joined: Wed Dec 03, 2008 7:40 am
Contact:

Re: Choosing a domain name

Postby cpg » Tue Dec 16, 2008 7:52 am

thanks for your feedback, ed. this is important to point out.
will put more emphasis on that in the install process.
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 8GB RAM, 1TBx2+3TBx1

Who is online

Users browsing this forum: No registered users and 14 guests