Creating SubDomain with PHP

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Maximus

    Creating SubDomain with PHP

    I have a registration form, when after registering, the user would get
    a subdomain




    I created a wildcard DNS which happened to redirect *.domainname.co m to
    the public_html folder.

    I need to find a way to redirect eahc subdomain to it's user folder.


    Any solutions?

  • Jerry Stuckle

    #2
    Re: Creating SubDomain with PHP

    Maximus wrote:
    I have a registration form, when after registering, the user would get
    a subdomain
    >

    >
    >
    I created a wildcard DNS which happened to redirect *.domainname.co m to
    the public_html folder.
    >
    I need to find a way to redirect eahc subdomain to it's user folder.
    >
    >
    Any solutions?
    >
    I'd normally handle this in a .htaccess file instead of PHP.

    --
    =============== ===
    Remove the "x" from my email address
    Jerry Stuckle
    JDS Computer Training Corp.
    jstucklex@attgl obal.net
    =============== ===

    Comment

    • Maximus

      #3
      Re: Creating SubDomain with PHP

      HOW?????

      Just give me a solution, not caring if it' PHP or anythin else

      Jerry Stuckle wrote:
      Maximus wrote:
      I have a registration form, when after registering, the user would get
      a subdomain




      I created a wildcard DNS which happened to redirect *.domainname.co m to
      the public_html folder.

      I need to find a way to redirect eahc subdomain to it's user folder.


      Any solutions?
      >
      I'd normally handle this in a .htaccess file instead of PHP.
      >
      --
      =============== ===
      Remove the "x" from my email address
      Jerry Stuckle
      JDS Computer Training Corp.
      jstucklex@attgl obal.net
      =============== ===

      Comment

      • Jerry Stuckle

        #4
        Re: Creating SubDomain with PHP

        Maximus wrote:
        Jerry Stuckle wrote:
        >
        >>Maximus wrote:
        >>
        >>>I have a registration form, when after registering, the user would get
        >>>a subdomain
        >>>
        >>>http://username.domainname.com
        >>>
        >>>
        >>>I created a wildcard DNS which happened to redirect *.domainname.co m to
        >>>the public_html folder.
        >>>
        >>>I need to find a way to redirect eahc subdomain to it's user folder.
        >>>
        >>>
        >>>Any solutions?
        >>>
        >>
        >>I'd normally handle this in a .htaccess file instead of PHP.
        >>
        >>--
        >>============= =====
        >>Remove the "x" from my email address
        >>Jerry Stuckle
        >>JDS Computer Training Corp.
        >>jstucklex@att global.net
        >>============= =====
        >
        >
        HOW?????
        >
        Just give me a solution, not caring if it' PHP or anythin else
        >
        (Top posting fixed)

        Well, you could try alt.apache.conf iguration for a .htaccess solution.

        And I don't just "give solutions" - at least not for free (as a
        consultant, that's how I get paid). I do, however, help those who try
        things themselves.

        And please don't top post.

        --
        =============== ===
        Remove the "x" from my email address
        Jerry Stuckle
        JDS Computer Training Corp.
        jstucklex@attgl obal.net
        =============== ===

        Comment

        Working...