SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: Newbie Question

  1. #1
    You wanna' peice o' me! Automated's Avatar
    Join Date
    Nov 2001
    Location
    UK
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Newbie Question

    Hi All,

    I have just got my first dedicated server, and also my first question.

    I have a domain that is listed in Yahoo and has loads links to it.

    One problem, they all link to different sub domains. How do i set the server so they automaticallly get re directed to the root (http://mydomain.com/index.html)

    Please be gentle

    Thanks
    Matthew Taylor
    FreelanceForums.com - Do you Freelance ?
    Visit the Freelance Forums and participate in all areas of Freelance Chat

  2. #2
    SitePoint Addict
    Join Date
    Apr 2002
    Location
    Manchester, UK
    Posts
    272
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Automated. Not 100% sure as to what your have requested, but there are 2 options. A simple redirect script will do it, or a "Forwarding" on your control panel will do the job also.

    What servers and control panel are you running?
    Design R Web Solutions
    part of Othello Technology Systems Ltd AS29527
    Email Us Support Forums
    enom ETP - PM me for a free reseller account

  3. #3
    Making a better wheel silver trophy DR_LaRRY_PEpPeR's Avatar
    Join Date
    Jul 2001
    Location
    Missouri
    Posts
    3,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if you want the main site's content to show up when you go to any subdomain, just use ServerAlias in the site's VirtualHost container (in Apache anyway):

    Code:
    ServerName www.mydomain.com
    ServerAlias mydomain.com *.mydomain.com
    not a redirect, but it works.
    - Matt ** Ignore old signature for now... **
    Dr.BB - Highly optimized to be 2-3x faster than the "Big 3."
    "Do not enclose numeric values in quotes -- that is very non-standard and will only work on MySQL." - MattR

  4. #4
    You wanna' peice o' me! Automated's Avatar
    Join Date
    Nov 2001
    Location
    UK
    Posts
    338
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for that Guys
    FreelanceForums.com - Do you Freelance ?
    Visit the Freelance Forums and participate in all areas of Freelance Chat


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
  •