Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is it possible to use DNS to take any requests that come from:

mydomain.com

for example:

mydomain.com/mysite/page.htm

to be routed to:

www.mydomain.com

All of the URL after the domain should be removed.

Thanks

share|improve this question

1 Answer 1

up vote 4 down vote accepted

No, DNS just translates hostnames. You would have to configure your web server to do this.

share|improve this answer
    
thx, not the asnwer we wanted, but who says you get what you want. Thx. –  Jon Jun 3 '10 at 16:06
    
It would be pretty easy to configure apache to do this, if needed. –  Bill Weiss Jun 3 '10 at 18:16

Your Answer

 
discard

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.