Results 1 to 4 of 4

Thread: Can you set adomain to a alias folder?

  1. #1
    Join Date
    Apr 2005
    Location
    Plymouth, UK
    Posts
    134
    Thanks
    1
    Thanked 1 Time in 1 Post

    Default Can you set adomain to a alias folder?

    Hi,

    I need to set a domain (www.domainb.com) to alias a folder of another domain (www.domaina.com/folder). Is it possible to do this by changing the DNS settings of www.domainb.com? By adding a cname record maybe?

    I know that this is probably not possible, but somebody that I know says that they have done it before using cpanel.

    Thanks for the help.

    Chris

  2. #2
    Join Date
    Feb 2004
    Posts
    4,901
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Hello Chris,
    This isnt accomplished using DNS (DNS handles domains and IPs, not folders and files) - but rather the webserver. Unfortunatly Helm doesn't provide this functionality, maybe CPanel does.

    Your best bet is to simply redirect to the folder from the domain - is this plausible?
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

  3. #3
    Join Date
    Aug 2005
    Location
    Dunfermline, Scotland
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I'm having a smiliar problem, i moved my default site into a folder "fmu" inside wwwroot/

    So now i want my domain to point to wwwroot/fmu/ rather than wwwroot/

    Any ideas?

  4. #4
    Join Date
    Feb 2004
    Posts
    4,901
    Thanks
    2
    Thanked 134 Times in 113 Posts

    Default

    Quote Originally Posted by James
    I'm having a smiliar problem, i moved my default site into a folder "fmu" inside wwwroot/

    So now i want my domain to point to wwwroot/fmu/ rather than wwwroot/

    Any ideas?
    As answered via support ticket, the best way to achieve this is to use a redirect script in your website root, for example:

    index.asp
    Code:
    <% 
    Response.Redirect "http://www.mydomain.com/folder/"
    %>
    Warren Ashcroft
    Red Fox UK Limited - Pioneers in Internet Technology
    http://www.redfoxuk.com
    w.ashcroft [at] redfoxuk.com

    NOTE: Forum Private Messaging should not be used to contact staff with support queries.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Placement of FTP folder
    By Fruitbat in forum General Technical Support
    Replies: 3
    Last Post: 11th February 2006, 07:26 PM
  2. File/Folder synchronisation ...
    By RMPnet in forum General Technical Support
    Replies: 7
    Last Post: 4th November 2005, 09:08 AM
  3. Securing admin folder
    By Al@iamstudios in forum osCommerce (PHP)
    Replies: 8
    Last Post: 10th October 2005, 04:20 PM
  4. How to set up a temporary url?
    By RobvK in forum Technical Support
    Replies: 5
    Last Post: 4th September 2005, 05:01 PM

Bookmarks

Posting Permissions

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