Closed Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 20 of 31

Thread: Make domain.com point to www.domain.com

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Posts
    1

    Default Set subdomain.maindomain.org to point to www.subdomain.org

    Specific cPanel Subdomains & NetObjects Fusion Settings...

    My goal was to set up a second domain under my main BlueHost account, i.e. I wanted to have separate websites for and which would have the following URLs:

    www.maindomain.org
    www.subdomain.org
    The steps needed turned out to be not very difficult but their order was critical. The primary domain is maindomain.org which has an associated cPanel login.


    Step 1

    Register www.subdomain.org.
    Step 2
    Next, add subdomain.org using cPanel. After logging into cPanel, go to “Domains” section and choose “Addon Domains”.

    Select subdomain.org which should already be associated with the account.

    Choose “Addon Domain” rather than “Parked”.

    Create a new directory under the public_html box named “subdomain” (without quotes). i.e. html folders will be housed in public_html/subdomain/.

    Set the subdomain to be subdomain.maindomain.org
    Step 3
    Go back to cPanel, now under Domains click on “Subdomains”.

    If not created for you, create subdomain.maindomain.org and leave the document root blank, this should automatically set the document root to public_html/subdomain. You don’t need to redirect anything.
    Step 4
    Go back to cPanel, now under “Files” choose “FTP Accounts”.

    Under “Add FTP Account” setup a login and password.
    Set directory to “subdomain” (without quotes). Click the “Create” button. You should now have an FTP user account of type “Sub Account” associated with directory [home]/public_html/subdomain
    Step 5
    Now open up NetObjects and go to the file tranfer settings (“Settings”) under the “Publish” view.

    In the “Publish Settings” box, put in

    Server type: FTP

    Server: maindomain.org

    Directory: (leave blank)

    Username & password are as set up under the cPanel FTP account for subdomain.org (Step 4 above).
    That should be it. Once you publish you should be able to display the subdomain home webpage using www.subdomain.org, and the main domain homepage using www.maindomain.org.

  2. #2

    Lightbulb Tutorial

    There's a good tutorial here. I used it for all my clients domains.

    http://aruljohn.com/info/htaccess/

  3. #3
    Join Date
    Jul 2008
    Posts
    12

    Default

    wondering do we need to make domain.com point to www.domain.com or it will happen automatically since domain name for both is same

  4. #4
    Join Date
    Apr 2008
    Posts
    407

    Default

    Quote Originally Posted by queensgambit View Post
    There's a good tutorial here. I used it for all my clients domains.

    http://aruljohn.com/info/htaccess/
    Another good tutorial on htaccess redirecting that I use:
    http://www.webweaver.nu/html-tips/web-redirection.shtml

Closed Thread

Posting Permissions

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