简体   繁体   中英

Creating dynamic subdomain using PHP Custom CMS?

I am somehow confused to analyse a project. Client says "I need an admin panel using PHP that create subdomain on wizard", ie like he wants www.domain.com/sub1, www.domain.com/sub2, www.domain.com/sub3 etc. each sub domain may contain different header, menu, content, footer etc. I am really confused in "How do I make PHP admin panel that creates a directory and files for each subdomain?". I hope you got it, otherwise I am ready to discuss it more.

Thanks.

Why making a directory for each "domain"? You can use .htaccess and a database.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM