Access your Local Ubuntu Server on your LAN Domain

The problem we’re trying to fix today sounds like a simple one, but requires a package to accomplish. Say you have an Ubuntu Linux server you just set up with a hostname of Ubuntu. Assuming your LAN domain is .local, you’d like to access services on this domain by going to to https://ubuntu.local.

If you’re unable to do this, you can simply use the Avahi package. To install this, simply run the following:

Once installed, you can verify that it’s running:

This should output something like the following:

I blurred out my hostname but this is where you should see your server’s hostname.

Leave a Comment

Your email address will not be published. Required fields are marked *