Please share some tips or suggestions. How to create sub-domains using PHP ?
Thanks in advance
Thanks in advance
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
For creating a sub-domain, you should work on Cpanel, in Cpanel, we should a write a PHP code dynamically which is used to create a sub -domain.
Example vhost config (written for CentOS 6.6)
- Create an A record at DO for a wild-card sub-domain (*.users.your-domain.com, for example)
- In apache, create a wild-card vhost:
* example.com A 123.321.99.33