I have a domain: www.example.com. I create a subdomain like: subdomain.example.com. When i go to that domain, i get what i want, and land on the subdomain uri.
Now the issue: i want to point www.mysite.com to subdomain.example.com and have it indexed by google. I can do this with a redirect, but the new site won't be indexed by google. I know that it is possible with .htaccess, im i right?
If anyone can help me out or point me into the right direction, i would be very pleased :)
From your description, I take that you have
CNAME
record pointing to your primary site's Canonical domain name . You may have to wait for a few minutes for the changes to take effect.
Note : Your primary domain register may require other changes to your secondary domain records for this to work.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.