• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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