SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member lisandro's Avatar
    Join Date
    Dec 2001
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question Redirect a domain name to a specific folder

    Hello:

    I reciently build my fatherīs site. I also got a domain name registred (is an argentinian domain .com.ar)

    Now, I and want to redirect this url to a specific folder in the mayor site of the company iīm working.

    I got the root access to the server so, which are the comands lines to do it ??

    Thanx

  2. #2
    SitePoint Zealot BlitzCraig's Avatar
    Join Date
    Mar 2001
    Location
    Louisville, KY
    Posts
    114
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Which web server and platform are you using (i.e. IIS on Win2K, Apache on Linux)? Without knowing this, it's hard to point you in the right direction.
    Craig H. Rettig - Bitbucket Heaven
    To understand recursion, you must first understand recursion.

  3. #3
    SitePoint Enthusiast {-_-}'s Avatar
    Join Date
    May 2001
    Location
    Virginia
    Posts
    29
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am not sure about scripts. The easiest way is to use a service like Mydomain.com (I think it is still free)

    Gook luck

  4. #4
    SitePoint Member lisandro's Avatar
    Join Date
    Dec 2001
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache on linux

    Apache on Linux

    All the sites of my company are sore in the /www/sites folder, the site I try to redirect is there too but seems to not working now.

    I type the url and the site is not showed

  5. #5
    epsilon transition cupid's Avatar
    Join Date
    Aug 2001
    Location
    Kent, Ohio
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No command lines.. just configuration settings:

    Since you run apache.. just change the DocumentRoot directive to the desired folder. Remember to include the full path..

    Don't forget the restart the webserver (apache! I don't mean rebooting the machine!!)


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
  •