Answer the question
In order to leave comments, you need to log in
How to bind a domain to your home IP?
Hello. I apologize for the noob question.
The bottom line is this: there is a static IP address purchased from the provider. (let it be 11.11.11.11)
There is a domain name (for example, example.com). How can I change the DNS records so that when visiting example.com the user is redirected to my IP with a specific port (for example, 11.11.11.11:4444) ?
Question #2 related to the first one: I have installed Apache, I want to try loading some sites. How do I configure DNS so that example.com/site1 points to the site located at /www/site1 and example.com/site2 points to the site located at /www/site2 ?
Answer the question
In order to leave comments, you need to log in
1.What does DNS have to do with ports?
Forward on your machine incoming from 80 to 4444 or proxy to it.
2. Well, you should at least look into the Apache documentation, everything is there (why use Apache instead of a normal web server, I won’t ask, you still won’t be able to answer, judging by the level of the question)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question