How to move a sharepoint site from one server to another

How to move a sharepoint site from one server to another

** Be sure that both servers have the same version of Sharepoint for starters
** Use the same account when running these steps on each server that have enough permissions to do everything needed.

New server
– Create a new web application – Creates IIS conatiner and SQL Database
– Create new domain such as sharepoint.mysite.com
– Create a TOP Level Site collection for that domain

Old Server
– Run stsadm.exe -o export -url http://localhost -filename C:\Export.cab -includeusersecurity -versions 4 -overwrite

New Server
– Run stsadm.exe -o import -url http://sharepoint.mysite.com/ -filename c:\import\export.cmp

That should do the trick