Mobile app version of vmapp.org
Login or Join
Voss4911412

: Redirecting a subdomain from wordpress.com to an external web address I have a question about redirecting a subdomain of a blog hosted on wordpress.com to an external URL. Given the following:

@Voss4911412

Posted in: #Redirects #Subdomain #Url #Wordpress

I have a question about redirecting a subdomain of a blog hosted on wordpress.com to an external URL.

Given the following:

1) I own a domain name foobar.com purchased from another registrar (not from wordpress.com).

2) I have purchased the custom domain option on wordpress.com, and have completed the configuration to make foobar.com resolve to foobar.wordpress.com.

3) I will establish an external site for a store, such as store.yahoo.com/foobar.

4) I want to redirect the subdomain store.foobar.com to store.yahoo.com/foobar.

How do I set up the custom DNS records within wordpress.com to accomplish this subdomain redirection, while leaving foobar.com pointed to my Wordpress blog? I suspect that the CNAME directive is involved, but I cannot figure out the required syntax.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Voss4911412

1 Comments

Sorted by latest first Latest Oldest Best

 

@Holmes151

A CNAME DNS record will not perform a redirect. It will simply just cause the HTTP request to go to store.yahoo.com (if that is the object of the CNAME record) containing the HTTP header:

Host: store.foobar.com


Which Yahoo will not know how to process.

From the link you provided, Wordpress doesn't appear to offer a GUI redirect feature as a part of their DNS service. You may want to consider using your domain registrar's DNS service for this domain. That's what I do. My registrar is GoDaddy and they have an easy to use DNS manager that I use to create similar redirects.

If you need to keep your DNS with Wordpress, you need to have Wordpress configured to accept a request for store.foorbar.com and then in your Wordpress site, redirect that request to store.yahoo.com/foobar.

I will do more research to see how to accomplish that.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme