Mobile app version of vmapp.org
Login or Join
Speyer207

: Point my one of my subdomain to my another website I have a website say somesite.com which i want to be accessible via some.mainsite.com. I want it to be transparent for the visitors, so that

@Speyer207

Posted in: #Dns #Subdomain #WebHosting

I have a website say somesite.com which i want to be accessible via some.mainsite.com. I want it to be transparent for the visitors, so that they never know it is coming from somesite.com

I welcome answers without following constraints equally.

However in my case the mainsite.com is hosted on a windows server. And somesite.com is on a linux hosting.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Speyer207

1 Comments

Sorted by latest first Latest Oldest Best

 

@Murphy175

Add a CNAME namely some to the domain mainsite.com pointing to somesite.com.

This will forward all requests made to some.mainsite.com towards somesite.com.
Add a serverAlias namely some.mainsite.com on somesite.com. This is also known as parking of domains (e.g. on cPanel).

This will tell your somesite.com host to accept all incoming request to some.mainsite.com and treat it as an alias to somesite.com.




Both the sending and accepting parts are necessary, absence of either won't make any sense.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme