Solved

How to create email addresses and subdomains from a web form?

Posted on 2011-02-25
3
249 Views
Last Modified: 2012-06-21
Hey fellas!

 I am a PHP programmer, so what I'm asking should be done with PHP.

 I've got a web based subscription service. What I want to do, though, is create subdomains and email addresses for somebody when they sign up for my service.

For example...

 If a user comes to my site and signs up with the username mike123, I want to automatically create a mike123@mysite.com and the subdomain mike123.mysite.com.  Is there an easy way to make this possible?

-Kev
0
Comment
Question by:ProjectZIG
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 27

Accepted Solution

by:
Lukasz Chmielewski earned 500 total points
ID: 34982112
Kind of an old thread but if you use cpanel - this would be the way to go.
http://www.ozzu.com/programming-forum/automatic-subdomain-creation-t81614.html
0
 
LVL 5

Expert Comment

by:RizyDeWino
ID: 34986797
would depend on which control panel are you using, cPanel has comprehensive API that you can use to achieve almost any thing.

Plesk on the other hand may give you pretty hard time achieving something similar.
0
 
LVL 8

Expert Comment

by:shaunak
ID: 34990268
As @RizyDeWino said, it will be a difficult tasks for mail creation on Plesk. In cPanel you can use the api to create sub-domains and mails.

For subdomain creation there is a work around by using wild card sub-domains and then using htaccess.
0

Featured Post

Supports up to 4K resolution!

The VS192 2-Port 4K DisplayPort Splitter is perfect for anyone who needs to send one source of DisplayPort high definition video to two or four DisplayPort displays. The VS192 can split and also expand DisplayPort audio/video signal on two or four DisplayPort monitors.

Question has a verified solution.

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

3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn how to count occurrences of each item in an array.
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.

617 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