2

I have taken my domain Freenom.com (a domain provider) and hosted it on Sixserve.com (a hosting service). The problem is that this hosting service allows only 3 sub-domains for per hosting plan, and I want to increase this limit.

I have full control over my domain and can change any DNS records at my will (including CNAME, A, etc...). So, my question is: Is it possible to change my DNS records (or otherwise) in such a way that a sub-domain subdomain.example.com will point to example.com/somepage. Is this possible, if yes then how?

0

1 Answer 1

4

Is it possible to change my DNS records (or otherwise) in such a way that a sub-domain subdomain.example.com will point to example.com/somepage.

Not by changing DNS records. A records point to IP addresses. CNAME records point to another host. Neither can point to a URL or URI like: example.com/somepage.

However, some DNS providers (like domain registrars) offer domain forwarding to URLs which uses a 301 redirect, or masking which uses a frame. Looking at the features for freenom.com, it appears they do offer URL forwarding, however it is unclear if they offer forwarding for subdomains like some registrars do.

The problem is that this hosting service allows only 3 sub-domains for per hosting plan, and I want to increase this limit.

If your goal is to increase the number of subdomains, then adding a free CDN like CloudFlare will allow to you to create additional subdomains using CNAME records, or wildcards DNS entries (i.e., *.example.com) so that you can use any subdomain you like.

Combined with CloudFlare's Page Rules, you could then point added subdomains to another URL (e.g., subdomain.example.com -> example.com/somepage).

4
  • Well, my domain is already connected with Cloud Flare, so I will check up with that... Thanks Commented Mar 11, 2015 at 5:34
  • Sure thing, no problem.
    – dan
    Commented Mar 11, 2015 at 5:35
  • Will you help me with some example, I'm finding it a little unclear. What exactly I have to do in may Cloud Flare control panel in page rules, so that, example.mysite.com will point to mysite.com/somepage. Please? Commented Mar 11, 2015 at 5:42
  • Create the subdomain you want to redirect by adding a CNAME, and then create a Page Rule for it as covered in the first example under the Rule Effects section of the Page Rules tutorial here. You'll want to set the reverse of that Page Rule however, from subdomain -> deep link. Good luck.
    – dan
    Commented Mar 11, 2015 at 5:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.