Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm trying to set up the AJAX Push Engine, and I've run into some complications using apache. All I want to do, is whenever I go to some address (e.g. *, forward it to some other address (e.g.

My httpd-vhosts.conf looks like this...

NameVirtualhost *

<VirtualHost *>
    ProxyPass /

But if I ping, it doesn't give me the IP address of

What is it that I am missing? If there is an easier way to do this without apache, I'm all ears: I had previously tried to just edit the hosts file, but apparently host files can't contain wildcards.


share|improve this question

migrated from Jun 30 '11 at 17:33

This question came from our site for computer enthusiasts and power users.

1 Answer 1

up vote 0 down vote accepted

if I ping, it doesn't give me the IP address of

The IP address you get for is returned by a DNS server. If you can edit the DNS record for, then you can get that domain name to resolve to the IP of your choice.

If you just need to do some local testing, then you can edit your hosts file, so your machine will resolve any hostname to any IP you like, but doing that only affects your own machine.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.