Jump to content

How do I make subdomains with PHP


Vince889

Recommended Posts

Is there a way to dynamically create subdomains like so: http://sub.example.com ?

 

I can do it in cPanel, but I'm not sure how I would go about doing it in PHP. I know how to create http://example.com/sub, but that isn't what I want. I don't think it would work the same as http://sub.example.com..

 

- Vince

Link to comment
https://forums.phpfreaks.com/topic/230032-how-do-i-make-subdomains-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.