Results 1 to 5 of 5
  1. #1

    Automatic Subdomain Hosting

    How do i make a Automatic Subdomain Hosting Service Like websites that offer free hosting So say, websitename.freehost.co.uk or something.

    I am not sure if it's done with PHP and through Cpanel? if someone can tell me how or link me to a tutorial.

    Thanks

  2. #2
    I guess mod_rewrite could be involved

  3. #3
    Join Date
    Apr 2009
    Location
    USA / UK
    Posts
    4,553
    You could also use mod_vhost_alias
    Code:
    # A request for http://www.example.com/directory/file.html 
    # will be satisfied by the file /var/www/vhosts
    # /www.example.com/directory/file.html.
    UseCanonicalName Off
    VirtualDocumentRoot /var/www/vhosts/%0
    I think Lighttpd's mod_vhost_simple can also do this in a similar way.

    ---

    And don't forget about the wildcard DNS record

    Code:
    *.example.com. IN A 1.2.3.4
    RAM Host -- Premium & Budget Linux Hosting From The USA & EU
    █ Featuring Powerful cPanel CloudLinux Shared Hosting
    █ & Cheap Premium Virtual Dedicated Servers
    Follow us on Twitter

  4. #4
    Join Date
    May 2007
    Posts
    2,599
    hmm what a worry hehe... Sure you can do this easily if you have cPanel if you want to go the extra mile with costing use whmcs/clientexec for fraud checking...
    Automated, Secure & Low Cost cPanel Backups (on the cloud)
    For Users & Web Hosting Providers - User Backups

  5. #5
    can anyone tell me how to do it, Instaid of telling me what i need or what is used

Similar Threads

  1. Bestofdata : Automatic Cancel and Automatic Data Deletion !!!
    By macgyvers in forum Dedicated Server
    Replies: 65
    Last Post: 12-19-2006, 07:26 PM
  2. I need automatic email sender & automatic email finder for my personal host.
    By sanbad in forum Hosting Software and Control Panels
    Replies: 10
    Last Post: 09-04-2005, 10:16 AM
  3. Stopping Automatic Hosting Payments? HELP!
    By Glowball in forum Web Hosting Lounge
    Replies: 8
    Last Post: 07-27-2005, 03:25 PM
  4. Automatic Subdomain Creation
    By m12345 in forum Hosting Security and Technology
    Replies: 0
    Last Post: 06-16-2005, 04:30 PM

Posting Permissions

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