Results 1 to 4 of 4
  1. #1

    Pointing a domain to a subdirectory

    Hello,

    I have a domain x.com and want to point another domain I have registered to x.com/y/

    Is this possible?

    I'm using cpanel and my control panel.

    How would I go about doing this?


    Thanks in advance. God bless!

    Kyle

  2. #2
    Join Date
    Aug 2005
    Location
    California
    Posts
    154
    You mean you want to forward another domain to the URL x.com/y/

    If so, yes, you can juse use your domain forwarding option in your domain Registrar.
    Beer is Good.

  3. #3
    So if NameCheap.com is my registrar, i should do it with them? I can't seem to find an option when i log in to forward this domain to x.com/y/

    Sorry if i'm missing something

  4. #4
    Join Date
    Feb 2003
    Location
    Connecticut
    Posts
    5,441
    Set x.com and yourOtherDomain.com to the same nameservers. Setup x.com normally, then go to cPanel and select Parked domains.. either that or Addon domains should allow you to put yourOtherDomain.com ontop of x.com/y/

    You could also setup yourOtherDomain.com as a normal domain, and put the following php script on it:
    PHP Code:
    <?php header('Location: x.com/y/'); ?>
    Hope that helps.

Posting Permissions

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