Saturday, September 5, 2015

apache 2.2 - Ignoring ServerName in Apache2

Just a quick note: I'm pretty new with Apache and my local network may be a bit screwy. I may be completely off-base.



I recently setup an internal network Ruby application running on a virtual host in Apache2. The IP address will immediately try to resolve the "ServerName" attribute, which isn't a fully-qualified domain name.



Everytime I try to access the application by IP it automatically redirects to the invalid URL. Adding a DNS record for the invalid URL to forward back to this server poses another problem as I'm learning to hate Windows DNS Server.




Is it possible to access this virtualhost via the local IP address?

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...