• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How to create sub domain with PHP script?

K

Komonko

Guest
Hi Everyone,

I am developing a web project at the moment and i wonder about something.

In my project, visitors will sign up with a username and my PHP script will open a sub-domain for their usernames.

For example, exampleusername.mysite.com should be opened by PHP script upon sign up.

How can i do this? What are the files that i need to modify with PHP script?

Thanks for your help.
 
Back
Top