Mobile app version of vmapp.org
Login or Join
Kevin317

: Toggle CNAME entries using PHP? Is it possible with PHP to dynamically toggle CNAME entries? For example I have two mirrors with media to be served on my website. Mirror 1 has a monthly bandwidth

@Kevin317

Posted in: #Cname #Php #Seo

Is it possible with PHP to dynamically toggle CNAME entries? For example I have two mirrors with media to be served on my website. Mirror 1 has a monthly bandwidth cap so upon reaching it I want to automatically toggle to mirror 2.

I want to use CNAME because the resulting urls appear to be identical to search engines, an SEO friendly approach. If there are SEO friendly alternatives I'd like to hear them as well.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Kevin317

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

This totally depends on what options you have with the DNS server software you are using. Do you host your own DNS servers, or is that being provided for you by the hosting company you're using? If you're using your own DNS servers, you can script away using PHP, bash, Powershell, etc. If not, you're depending on whatever option your hosting company provides.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme