Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

My hosting provider (amen.pt) told me I can keep my e-mails and webmail hosted with them and host the website elsewere. For this to work I need to change the DNS A record 'www' to the IP of the other server.

My question (which I asked them, but haven't heard of them so far...) is if this IP must be static or can this configuration handle a dynamic IP. This is because I'm thinking of moving the website to Webfaction and I think I have a dynamic IP there...

Thanks!

share|improve this question
1  
Check with Webfaction - it's extremely unlikely for them to give you a dynamic IP for your website. There's no reason for them to do so - if they do, they've got a weird setup and you'll want to use a different web host! –  Demelziraptor Sep 6 '11 at 10:19
    
Ok, I'm checking with Webfaction in order to dissipate all doubts –  fana Sep 6 '11 at 10:45
    
This should help you (it shows how to get your website IP from webfaction control panel; check the Using Your Own Name Server section): docs.webfaction.com/user-guide/… –  Demelziraptor Sep 6 '11 at 11:35
    
By the way this IP will be static but not fixed. The difference being that webfaction may change the IP - if this do this at all, it will be very infrequently, and they should tell you beforehand so you know to update the DNS with amen.pt so the website doesn't go down. –  Demelziraptor Sep 6 '11 at 11:37
    
@Demelziraptor Oh that's more clear now! I checked with webfaction and they told me the IP is static and this configuration will work fine. I guess I misunderstood the static vs dynamic IP thing –  fana Sep 6 '11 at 11:41

2 Answers 2

If you have a dynamic IP address on your server then you need to have some method of detecting the change and then updating your DNS records with the updated information. During the time between the IP address changing and your update to the DNS your site will be effectively down.

You will need to find out if amen.pt allow and have some method of facilitating an automatic update to your DNS records. Failing that you will probably have to host your DNS with a company that does allow and facilitate automatic updates when IPs change.

share|improve this answer

There are several tools (e.g., DynDNS) to update DNS records dynamically. If amen.pt does not allow to change your DNS configuration with an external tool you can create a fix CNAME record for your www address which point to the dynamic address. For example you can have a CNAME entry for www.example.com pointing to dynamic.example.com.

You can then use any public tools (as DynDNS) to update dynamic.example.com

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.