[namecheap] subdomain redirect

elbakali9

Reputable
Nov 12, 2017
47
0
4,530
hi there, i hope you are doing great !

i recent bought blog.domain.com from namecheap,
i have 1
server - 1 IP adress i use it for blog.domain.com
how can i set : when browsing domain.com go to blog.domain.com
 
hi there, i hope you are doing great !

i recent bought blog.domain.com from namecheap,
i have 1
server - 1 IP adress i use it for blog.domain.com
how can i set : when browsing domain.com go to blog.domain.com
I believe you're looking at a CNAME entry wherever your DNS for that domain is hosted.
Also note that you would just buy domain.com. All subdomains (e.g. blog.domain.com) are still a part of domain.com.
 
yes i bought domain.com - and i created subdomain this subdomain is related to my ip
i'm asking how can my domain always be redirected to my subdomain.
example :
browsing : www.domain.com redirect to blog.domain.com
 
good homework question. this will have to be configured on your local server side.

look in your text for dns records section and in there you shall find your answer.

that's all the hint you get since we have a policy of not helping with homework on the site :)
 
good homework question. this will have to be configured on your local server side.

look in your text for dns records section and in there you shall find your answer.

that's all the hint you get since we have a policy of not helping with homework on the site :)
hello - my english is not good - by homework you are joking ?
i have server from contabo and domain from namecheap - please help.
 
domain.com is worth millions of dollars and has been up and running for many years. there is no way you bought that expensive domain/site and don't have the resources to hire the IT people to run it. :)

this sounds like a generic homework question using generic names to illustrate the situation. unless of course you mean some other domain name and went generic yourself in your question.

google dns records and read up on it since that is how you will redirect to the subdomain.
 
understood - by domain i mean a domain name in general .com is it TLD.
again not a home work - i own the domain, the sub domain and the server.
 
no problem, the answer is still by setting the redirect in the dns records. you tell the server than any traffic coming in for www.domain.com should instead go to blog.domain.com by name or its ip address inside the network.

read up on dns records. its not that hard but needs to be done right.

here's a quick explenation but you will need to look up how to set it in whatever server software you are using

 
no problem, the answer is still by setting the redirect in the dns records. you tell the server than any traffic coming in for www.domain.com should instead go to blog.domain.com by name or its ip address inside the network.

read up on dns records. its not that hard but needs to be done right.

here's a quick explenation but you will need to look up how to set it in whatever server software you are using

understood, i'll try to set up as you said.