: How to configure apache to allow access to subdomain on my local ip address I would like to have others inside my local network access resources on my computer at outsideprojects.192.168.0.10.
I would like to have others inside my local network access resources on my computer at outsideprojects.192.168.0.10. I am running Apache and have a virtual host configured so I can access it at outsideprojects.localhost but can't seem to be able to access it from the outside.
I have all firewalls disabled so I don't believe that this is the issue. I would expect that I should be able to access this at outsideprojects.127.0.0.1 but I cannot do that either.
What are the Apache configuration options to be able to accomplish this?
More posts by @Goswami781
1 Comments
Sorted by latest first Latest Oldest Best
Try doing that with a subdomain from something like www.dyndns.com/ opposed to using an ip address. I imagine that would work better with apache if you want to configure it that way. to access this from a remote host you would have to open up your firewall and also forward the port from your router.
I'm not very familure with apache's configuration but just with the dyndns.com subdomain I access a webserver I have running on my development machine from anywhere without too much trouble.
EDIT : now that I notice you want this for your local network ...
why the subdomain? The ip address of your machine should be enough? if you want multiple sites just run it on different ports. so 192.168.0.10:80 , 192.168.0.10:81, 192.168.0.10:82. that would be the easiest thing to do.
OR another thing you can do is use the name of the computer, which acts as a host name over a local network. I have no idea if subdomains work with that.
httpd.apache.org/docs/2.0/vhosts/examples.html
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.