There is this situation where I want to setup a new domain where the data is hosted on an existing hosting package under another domain.
I'am not sure if I violate any rules so correct me if I do anything wrong
The whole situation
I own a simple website let's call it www.mywebsite.com for now, existing from a domain name and a webhosting package (webspace, bandwith etc).
Here I created a subdomain www.product.mywebsite.com running a wordpress template.
I recently bought another domain (let's call this www.product.com for now) with the idea to link this domain with the sub-domain.
If it's possible I want to replace www.product.mywebsite.com with www.product.com but if this is not possible through some change in the DNS, I want to forward it.
What I did
In the settings of the domain www.product.com I added the following records:
Name: * TTL: 1 min Type: A Value: same IP as www.mywebsite.com
Name: @ TTL: 1 min Type: A Value: same IP as www.mywebsite.com
Name: WWW TTL: 1 min Type: CNAME Value: www.product.mywebsite.com.
If I send a ping to www.products.com I see it redirects me to the ip of www.mywebsite.com. (* note that without the www. it does not redirects me)
If I go to www.products.com, i get some automatic generated message from the Hosting company saying "this domain is reserved"
I'am aware that any changes made in the DNS records can take up to 48 hours to work.
1) What do I have to configure to make this work?
There is also an option in wordpress, changing the websites URL.
There are two URL fields, one for the destination the user gives and one for the location of wordpress (both currently:www.product.mywebsite.com ).
2) Is it possible to only change te first field to www.product.com?
I don't want to "try on error" this option since I don't want to mess up the wordpress site.
I searched the internet for some solutions but I couldn't find any overlapping scenarios.
I really appreciate any help you can provide.