WiFi Hotspot and Domain Name












0















I managed to activate a WiFi Hotspot on my Ubuntu 18.04 server: see this SO-question.



Now I can already connect my Android Tablet to this hotspot and also reach a webserver on the Ubuntu server, when I enter the IP address in the browser: e.g. http://10.4.4.4



Is it possible to configure the Hotspot so that users can connect using a domain name instead of the IP address?

e.g. http://myubuntu.com instead of the ip address?



I thought that it should be possible to start a DNS server on my Ubuntu and configure the Hotspot to use it. But in the nm-connection-editor the DNS servers field is deactivated
enter image description here










share|improve this question























  • The problem is telling your tablet to use the DNS on your server. If the address it gets is assigned using the DHCP protocol (which assumes that your server also runs a DHCP server), then the DHCP config can include setting the DNS server as well.

    – xenoid
    Feb 12 at 12:55











  • I simply used Turn on WiFi-Hotspot in Settings - WiFi and my tablet already got a correct IP address (in the 10.4.4.x range) when I connected to the Hotspot. So it seems that the Hotspot (on the Ubuntu server) already acts as a DHCP server, right?

    – TmTron
    Feb 12 at 13:06











  • If it does it can likely be configured to pass the DNS setup to DHCP clients.

    – xenoid
    Feb 12 at 13:13











  • That's what I think too. And the DNS servers edit box seems the perfect place for this. But for some reason it is deactivated...

    – TmTron
    Feb 12 at 13:28
















0















I managed to activate a WiFi Hotspot on my Ubuntu 18.04 server: see this SO-question.



Now I can already connect my Android Tablet to this hotspot and also reach a webserver on the Ubuntu server, when I enter the IP address in the browser: e.g. http://10.4.4.4



Is it possible to configure the Hotspot so that users can connect using a domain name instead of the IP address?

e.g. http://myubuntu.com instead of the ip address?



I thought that it should be possible to start a DNS server on my Ubuntu and configure the Hotspot to use it. But in the nm-connection-editor the DNS servers field is deactivated
enter image description here










share|improve this question























  • The problem is telling your tablet to use the DNS on your server. If the address it gets is assigned using the DHCP protocol (which assumes that your server also runs a DHCP server), then the DHCP config can include setting the DNS server as well.

    – xenoid
    Feb 12 at 12:55











  • I simply used Turn on WiFi-Hotspot in Settings - WiFi and my tablet already got a correct IP address (in the 10.4.4.x range) when I connected to the Hotspot. So it seems that the Hotspot (on the Ubuntu server) already acts as a DHCP server, right?

    – TmTron
    Feb 12 at 13:06











  • If it does it can likely be configured to pass the DNS setup to DHCP clients.

    – xenoid
    Feb 12 at 13:13











  • That's what I think too. And the DNS servers edit box seems the perfect place for this. But for some reason it is deactivated...

    – TmTron
    Feb 12 at 13:28














0












0








0








I managed to activate a WiFi Hotspot on my Ubuntu 18.04 server: see this SO-question.



Now I can already connect my Android Tablet to this hotspot and also reach a webserver on the Ubuntu server, when I enter the IP address in the browser: e.g. http://10.4.4.4



Is it possible to configure the Hotspot so that users can connect using a domain name instead of the IP address?

e.g. http://myubuntu.com instead of the ip address?



I thought that it should be possible to start a DNS server on my Ubuntu and configure the Hotspot to use it. But in the nm-connection-editor the DNS servers field is deactivated
enter image description here










share|improve this question














I managed to activate a WiFi Hotspot on my Ubuntu 18.04 server: see this SO-question.



Now I can already connect my Android Tablet to this hotspot and also reach a webserver on the Ubuntu server, when I enter the IP address in the browser: e.g. http://10.4.4.4



Is it possible to configure the Hotspot so that users can connect using a domain name instead of the IP address?

e.g. http://myubuntu.com instead of the ip address?



I thought that it should be possible to start a DNS server on my Ubuntu and configure the Hotspot to use it. But in the nm-connection-editor the DNS servers field is deactivated
enter image description here







networking dns hot-spot






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 12 at 12:46









TmTronTmTron

252212




252212













  • The problem is telling your tablet to use the DNS on your server. If the address it gets is assigned using the DHCP protocol (which assumes that your server also runs a DHCP server), then the DHCP config can include setting the DNS server as well.

    – xenoid
    Feb 12 at 12:55











  • I simply used Turn on WiFi-Hotspot in Settings - WiFi and my tablet already got a correct IP address (in the 10.4.4.x range) when I connected to the Hotspot. So it seems that the Hotspot (on the Ubuntu server) already acts as a DHCP server, right?

    – TmTron
    Feb 12 at 13:06











  • If it does it can likely be configured to pass the DNS setup to DHCP clients.

    – xenoid
    Feb 12 at 13:13











  • That's what I think too. And the DNS servers edit box seems the perfect place for this. But for some reason it is deactivated...

    – TmTron
    Feb 12 at 13:28



















  • The problem is telling your tablet to use the DNS on your server. If the address it gets is assigned using the DHCP protocol (which assumes that your server also runs a DHCP server), then the DHCP config can include setting the DNS server as well.

    – xenoid
    Feb 12 at 12:55











  • I simply used Turn on WiFi-Hotspot in Settings - WiFi and my tablet already got a correct IP address (in the 10.4.4.x range) when I connected to the Hotspot. So it seems that the Hotspot (on the Ubuntu server) already acts as a DHCP server, right?

    – TmTron
    Feb 12 at 13:06











  • If it does it can likely be configured to pass the DNS setup to DHCP clients.

    – xenoid
    Feb 12 at 13:13











  • That's what I think too. And the DNS servers edit box seems the perfect place for this. But for some reason it is deactivated...

    – TmTron
    Feb 12 at 13:28

















The problem is telling your tablet to use the DNS on your server. If the address it gets is assigned using the DHCP protocol (which assumes that your server also runs a DHCP server), then the DHCP config can include setting the DNS server as well.

– xenoid
Feb 12 at 12:55





The problem is telling your tablet to use the DNS on your server. If the address it gets is assigned using the DHCP protocol (which assumes that your server also runs a DHCP server), then the DHCP config can include setting the DNS server as well.

– xenoid
Feb 12 at 12:55













I simply used Turn on WiFi-Hotspot in Settings - WiFi and my tablet already got a correct IP address (in the 10.4.4.x range) when I connected to the Hotspot. So it seems that the Hotspot (on the Ubuntu server) already acts as a DHCP server, right?

– TmTron
Feb 12 at 13:06





I simply used Turn on WiFi-Hotspot in Settings - WiFi and my tablet already got a correct IP address (in the 10.4.4.x range) when I connected to the Hotspot. So it seems that the Hotspot (on the Ubuntu server) already acts as a DHCP server, right?

– TmTron
Feb 12 at 13:06













If it does it can likely be configured to pass the DNS setup to DHCP clients.

– xenoid
Feb 12 at 13:13





If it does it can likely be configured to pass the DNS setup to DHCP clients.

– xenoid
Feb 12 at 13:13













That's what I think too. And the DNS servers edit box seems the perfect place for this. But for some reason it is deactivated...

– TmTron
Feb 12 at 13:28





That's what I think too. And the DNS servers edit box seems the perfect place for this. But for some reason it is deactivated...

– TmTron
Feb 12 at 13:28










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117658%2fwifi-hotspot-and-domain-name%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1117658%2fwifi-hotspot-and-domain-name%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido