|
|
|
|
![]() ![]() |
Oct 14 2005, 10:31 AM
Post
#1
|
|
|
Newbie [Level 3] ![]() ![]() ![]() Group: Members Posts: 48 Joined: 8-October 05 Member No.: 12,668 |
can you please tell me how to make my own subdomain service because i would like to start up my own subdomain hosting with the last bit of the url
co.dc co.hs or semething like that so could you plese tell me how to do it if you know how to |
|
|
|
Oct 14 2005, 10:47 AM
Post
#2
|
|
|
Administrator ![]() Group: Admin Posts: 1,480 Joined: 11-June 04 From: Somewhere in Time & Space. Member No.: 1 |
Well, Firstly it is not allowed.
Secondly, to provide such advanced service, you need a server. |
|
|
|
Oct 14 2005, 06:42 PM
Post
#3
|
|
|
Advanced Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 120 Joined: 28-August 05 Member No.: 11,224 |
I've wanted to start a similar service too. I want to offer a free redirection service. How can I do this? Do I need to get a new dedicated server or could I do it from my regular hosting account.
I am really interested in this question so I would be very grateful if you could answer me. Also I'm looking forward to receibing a solution to my problem. |
|
|
|
Oct 15 2005, 02:56 AM
Post
#4
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 383 Joined: 8-October 05 Member No.: 12,656 |
don't you first need ot register the "something dot something" before doing anything?
|
|
|
|
Oct 15 2005, 03:01 AM
Post
#5
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 268 Joined: 10-October 05 From: Calgary, Alberta, Canada Member No.: 12,762 |
The domains that you listed are only two letters long which could cost you hundreds of thousands of dollars to purchase and the domains extensions that you listed would be very difficult to register if you are able to do so at all. If you are planning to offer hosting it isn't a very good idea to use a free host to do it, instead you should purchase a dedicated server or a reseller hosting plan from a hosting company.
|
|
|
|
Oct 15 2005, 04:00 AM
Post
#6
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 874 Joined: 30-July 04 Member No.: 246 |
QUOTE("OpaQue") Secondly, to provide such advanced service, you need a server. Not entirely true. It could be done on a shared server - although you probably need a unique IP address (which doesn't require a dedicated server). Anyway... as has been mentioned, doing something like this will cost a bit of money to get off the ground. In other words, if you are looking for free hosting at Trap17, you probably aren't going to be able to do it. |
|
|
|
Oct 15 2005, 04:13 AM
Post
#7
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 518 Joined: 29-April 05 From: Canada Eh?!? Member No.: 6,408 |
Now that they have gotten over the technical requirements, here is how you would do it, not specific enough because I actualy couldn't tell you what to do, but here goes. In your webserver configuratin file there is a portion dedectated to subdomains. You would need to make a php (or otherwise) frontend so that when a user added a new subdomain it would make the change in the webserver conf file, thus activating the web hosting. You would also tell all pages on your website to redirect to a particular page, meaning using a particular edit tell all but the administration pages and home page to go to a redirection page, now on that page there would be a script that would say where is this page coming from? check a database and from that database using the header function (in php) you would send the user to that page. That however wouldn't cloak the users address. In my mind the easiest way to cloak the users address would be to set a frame the same size as the window with the url to the one the user typed, and a source of the one the user specified.
But like I said that is all in theory I couldn't tell you how to do this in detail |
|
|
|
Oct 17 2005, 03:14 PM
Post
#8
|
|
|
Privileged Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 874 Joined: 30-July 04 Member No.: 246 |
It is far easier than that. I believe there are various scripts floating around the web that make it easy to do, but regardless, you don't do it by editing your server configuration files. Ever. That is time consuming, difficult and dangerous.
The way I would do it is by adding an 'A' record to my domain pointing to my server's IP address and handle all requests via a script by looking at the 'Host' header. But that's just what I'd do. |
|
|
|
Oct 17 2005, 03:44 PM
Post
#9
|
|
|
Member [Level 1] ![]() ![]() ![]() ![]() Group: Members Posts: 53 Joined: 13-October 05 Member No.: 12,886 |
So why do you need this servece anyway?
|
|
|
|