Subdomains on IP addresses in Webmin
-
13-03-2021 - |
Question
How can I set up a subdomain on an IP address using Webmin?
So, if I go to http://directory.127.0.0.1/
it goes to the same place as http://directory.localhost/
(/var/www/directory
)?
Solution
That's not how IP addresses and host names work.
You have either an IP address, which can consist only of digits, or a host name, whose components cannot consist only of digits. Host names can have subdomains, IP addresses can't.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow