Forum Moderators: mack
I am curious about something. Is it customary or even smart to do something like the following. Set up a domain like mydomain.com. Offer hosting to customers and put their domains as sub directories in mydomain.com. I have 3 sites of my own and 2 are in sub directories of the main one.
The only problem I can think of would be recognizing traffic for each domain. In mine for example, I have about 500 uniques a day but I can't tell exactly which domains they go to. But I can judge by the pages hit where.
Any help much appreciated. Hope I picked the right forum for asking.
Thanks.
John
You can do it with subdomains, but wouldn't it be easier if they had their own domains?
You can have one static IP address, and host many sites with different domains, each pointing to your IP address. The webserver you use can determine which site to show based on the domain name.
I have a Windows server (IIS) and one IP address. I host about 25 sites, each with their own domain. Windows uses the "Host Header" information to route the request to the correct directory.
There is another way you could go which you may find useful.
When I first started I setup a virtual server. A virtual server allows you to add new domains to the server but these servers cost a lot less than dedicated servers.
Once you have a larger customer base the cost of switching to a dedicated server no longer matters.
I was using a virtual server until I reached 50 web sites and then moved over to a dedicated server.
For someone starting out this is a great way to put their feet in the water without it costing lots of money.
Simon.