Jump to content

Recommended Posts

Posted

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.

Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...