Map sub-domain using Python

Avatar
  • Answered
Is there a way to verify that a sub-domain is still available using Python? Once verified, how can I map the sub-domain to a public IP address using Python?
Avatar
Scott
Hello,

As you are on a shared server you would need to use a wildcard subdomain and then handle all the routing of the data via your htaccess file.

Kindest Regards,
Scott M

Avatar
Scott
Hello,

The cPanel already does this functionality. Is this something you can use? What is your purpose for this code? There may be another feature or function you can use to do it.

Kindest Regards,
Scott M