How to host a public website with my domain name on Android?
2
votes
0
answers
554
views
I have my own domain name, richardbrowning.cf, and I want to host my own website (using this domain name) on my Android phone. My Android isn't connected to Wi-Fi (I am using Mobile Data).
I started locally hosting my website on my Android, (and it was available at http://mylocalipaddress:myport . Then I went to my registrar and added an A DNS Record setting the target to my local IP Address. Now if I go to richardbrowning.cf:myport, I can view my website. But it is still only local.
So I have two issues. I want to make my website public, not just local (so everyone can view my website) and I want to remove the need for putting :port at the end of the domain/website.
By the way, an end note is that I tried putting my external IP Address into my DNS Record instead of my local IP Address, but this doesn't work because there is nothing being hosted to this external IP Address. So if I could maybe host my website to my external IP Address and then put this external IP Address into my DNS Record, then that would work. But I can't find a way to host my website to my external IP Address. I only see ways to host my website to my local IP Address (locally). Thanks in advance.😀
Asked by Richard Browning
(21 rep)
Jan 16, 2021, 02:17 AM
Last activity: Jan 16, 2021, 05:18 PM
Last activity: Jan 16, 2021, 05:18 PM