Mobile app version of vmapp.org
Login or Join
Goswami781

: 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.

@Goswami781

Posted in: #Apache #HttpServer #IpAddress #Server

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?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Goswami781

1 Comments

Sorted by latest first Latest Oldest Best

 

@Smith883

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

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme