If you have a domain name (with an IP address), yes - that's how most of us do it. If you have the domain name hosted somewhere, then no - it's a static address, so you just use that static domain name.