Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have recently purchased a domain name. I can forward it to any ip, I would like.

I lets say i forwarded (thats not what I have registered).

I pointed it at my IP:Port I am able to get to it no problems.

I have another folder where I keep my files at home I can get to it from my local network by going to LocalIP/~user but when i got to it doesn't seem to work.

What am I doing wrong? Maybe getting it to point to would be a better solution?

Also resources that teach apache2 from a noobs perspective would be nice as well.

Please and thank you.

share|improve this question is specifically reserved for cases where you don't want to expose your real domain name. This site is not for home users, but since your question is related to Apache, I'll point you in the right direction.

Domain names can't be pointed to ports; just IP addresses (with common setups). So your domain must currently be pointed to some server IP It sounds like you have a virtual host setup for it, especially if you get different results from entering vs into your address bar.

If you want different sites for various domains, like you'll have to use virtual hosts, one for each different site.

Mapping your home's public_html (or similar folder) to is a function of the userdir directive in your httpd.conf file (or similar since I don't know what OS your running). Apache has tons of documentation, and although it's quite technical, if you read through it you'll find it contains many simple examples. System Administration takes some learning and effort, it's not all easy.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.