Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Entries in DNS (named) are like

www A 1.1.1.1
mail A 2.2.2.2

Well I am using wordpress in www.mydomainname.com now I have www.mydomain.com/?pageid=16 used for blogs

so I want to add a entry in DNS which directly points that full URL (No issues if name changes after redirection)

so as a user type blogs.mydomainname.com it should land on I have www.mydomain.com/?pageid=16

share|improve this question

migrated from serverfault.com Jun 14 '13 at 22:30

This question came from our site for professional system and network administrators.

    
That has nothing to do with DNS, you'll need to do that in Apache or Ngnix, or some other program that deals with http requests. –  NickW Jun 14 '13 at 10:28
    
Can you please share an example Well I am using HTTPD server (apache) Thanks for your reply –  Ashish Jun 14 '13 at 10:30
    
I'll give you a simple example, and a link to where to find more RewriteEngine on –  NickW Jun 14 '13 at 10:37
    
RewriteRule ^/$ /?pageid=16 [R] –  NickW Jun 14 '13 at 10:38
1  
No, not at all. This is information that goes into your httpd.conf, or into an .htaccess file. It requires that you have administrative access to your server, and also in this case, requires that you are running apache. If you don't know anything about that, I recommend you read the page I posted, and possibly the rest of the documentation on that site. –  NickW Jun 14 '13 at 11:01
show 2 more comments

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.