Results 1 to 3 of 3
  1. #1

    Point a Domain to a Sub-Domain using CNAME/DNS settings?


    I have two domains and want to point one domain to a sub-domain of the other domain. I don't want to use Addon Domain option (from my cPanel) but I need to use something that I can change on - to change the dns records like cname or whatever.

    Lets say I have on my server

    And my second domain

    what I want is that once user enter, he will actually be surfing (in the adress bar should appear I don't want a redirect, I want the URL etc still remains

    Any help is appreciated.

  2. #2
    Join Date
    Aug 2009
    Orlando, FL
    I don't think you can achieve that using DNS. If you want the domain to remain the same, I think you will need to setup Apache to do this work for you.

    I'm not 100% sure about this, it's a been a few years since I had the same situation.

  3. #3
    Join Date
    Aug 2009
    I agree with skullbox. The best way to do this is using Rewriting rules on Apache:

    RewriteEngine on
    RewriteCond %{HTTP_HOST}
    RewriteRule (.*)$1 [L]

    URL on browser will always be

Similar Threads

  1. domain showing dns settings in url?
    By WoodiE55 in forum Hosting Security and Technology
    Replies: 5
    Last Post: 07-22-2006, 10:01 AM
  2. Noob Q: Settings DNS for my domain
    By g00g0l in forum Hosting Security and Technology
    Replies: 1
    Last Post: 03-02-2005, 09:54 PM
  3. Replies: 4
    Last Post: 02-09-2005, 03:38 PM
  4. Correct DNS settings for a domain (newbie)
    By Kotek in forum Hosting Security and Technology
    Replies: 2
    Last Post: 10-06-2004, 05:05 AM
  5. free domain with DNS settings ?
    By Cyrus in forum Web Hosting Lounge
    Replies: 9
    Last Post: 05-01-2004, 01:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts