ramseier Posted April 17, 2008 Share Posted April 17, 2008 I'd like to write a tool to test virtual host configurations without changing the host file. Is ist possible to simulate the nameresolution to a virtual host <-> IPadress with autoit? For example: I've set up a domain as virtual host on my server. test.domain.com My server has the ipadress 10.0.0.3 (for example). Now I want to send a request to the apache webserver and see the content of the virtual host. 10.0.0.3 test.domain.com It is possible to perform this test by changing the local host file. So it might be possible to "fake" the request with a script. Link to comment Share on other sites More sharing options...
weaponx Posted April 17, 2008 Share Posted April 17, 2008 You might be able to manually add an entry to the dns cache somehow, this way it will only resolve until the cache is cleared. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now