• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

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