SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: DNS help

  1. #1
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    DNS help

    This might not be the right place...

    Um. How do you set up DNS details to point at a sub_directory?

    For example I have one main domain which has the DNS setup to point at the IP of the host account. But I also run websites from directories within this account, for example..

    /public_html/website2/index.php

    How do I set up the DNS to point at that account, rather than having to use website forwarding?

    Thx.
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky

  2. #2
    epsilon transition cupid's Avatar
    Join Date
    Aug 2001
    Location
    Kent, Ohio
    Posts
    367
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Unfortunately, you can't. DNS can only point to a domain or ip address. You'd have to do the forwarding/redirect inside your http configuration file to avoid forwarding via your script.

  3. #3
    We like music. weirdbeardmt's Avatar
    Join Date
    May 2001
    Location
    Channel Islands Girth: Footlong
    Posts
    5,882
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That is what I was afraid of!
    I swear to drunk I'm not God.
    Matt's debating is not a crime
    Hint: Don't buy a stupid dwarf Clicky


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
  •