CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: Add Subdomain

  1. #1
    Join Date
    Sep 2004
    Location
    .hell On Earth.
    Posts
    91

    Add Subdomain

    Hello everybody,

    Does any body know of a way to dynamically add subdomains using php like

    www.site.com

    during visitor registeration the php script will create

    visitor.site.com and redirect it to a page

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: Add Subdomain

    Domains and subdomains can only be handled by a DNS server.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    Sep 2004
    Location
    .hell On Earth.
    Posts
    91

    Re: Add Subdomain

    like what do i do in the DNS server.. just give me a search term

  4. #4
    Join Date
    May 2002
    Posts
    10,943

    Re: Add Subdomain

    Most hosting provide access to your DNS within the administration panel. If you have your own server, then do into the administration. You still cannot create them dynamically. You personally will have to add them.
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured