I'm planning to buy a domain and install a WordPress site on it at a web-hosting company. But first I'll need to iron-out some bugs... I got a working LAMP-stack at my home-computer, so I'm thinking about first installing my site locally - off the Internet.
I'll be mostly tweaking and making "test-posts" to check that everything works, but I'll probably also make some posts I'd like to keep when I move the site and take it online.
When I'm done chasing bugs; I guess I'll just package the public_html|www directory-tree and upload it to the web-hosting company, and also export the database from my home-computer to the web-hosting.
What I'm wondering if there are some "best practices", some do-s and don't-s, some major pits to take note of?
For example, how can ensure the smooth transition of domain-name in posts and links as such, from localhost to whatever-i-end-up-buying.com (I know from previous attempt of running WordPress at my home computer, that this didn't always work quite well...).