Solved

I'm interested in creating a subdomain system for a website..

Posted on 2006-07-10
5
209 Views
Last Modified: 2013-12-12
I wanted to make a user / password system that let users choose a subdomain for their account.  Does anybody know where they are any tutorials on this?

Ex//

Type your email
Type your password
choose your domain

chris.domain.com

0
Comment
Question by:cstormer
  • 3
  • 2
5 Comments
 
LVL 12

Expert Comment

by:GinEric
ID: 17078824
You mean choose a domain, since there is no such thing as a subdomain.
0
 

Author Comment

by:cstormer
ID: 17078881
... ok yes.. chooose a domain.. isn't the it refered to as subdomain?
0
 
LVL 12

Expert Comment

by:GinEric
ID: 17080830
No, just a domain.  The term "subdomain" is just kind of confusing.  Any Fully Qualified Domain Name [FQDN] is registered with a Registrar and thereafter known as an FQDN domain.  Domains can be hosted and delegated [which is common and perhaps close to the idea of a subdomain, but still, it's a domain].

So, if a user has more than one domain, you want some kind of login or auth that asks for simply domainname which that user can type over in a dialogue box, either a form on some login website or a popup.  I think every ISP or other that hosts such sites has a login form that asks for the domainname.  You could simply go to such a site and view the source, or save the source, and see how they do it.

If you mean the Windows login prompt, that is a Windows study on how to allow login choices with multiple domains.  Microsoft must have some documentation on that somewhere, but i've no idea where it is.  We do, in fact, have multiple domains, yet Windows Server is not geared toward easily telling one how to add entries to the domain list drop down.

Are you hosting websites?
0
 

Author Comment

by:cstormer
ID: 17080987
I was refering to something like this..

http://signup.mojohelpdesk.com/signup/register/10
0
 
LVL 12

Accepted Solution

by:
GinEric earned 500 total points
ID: 17081034
That's a hostname field.

<hostname>.<domainname>.<type>

All you have to do is when at that site view the page source.  It's in javascript and will give you a good idea of how it's done.
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question