When you purchase/change the webhosting for a domain, it requires 24 to 72 hours to be propagated all over the world. There is a simple technique to access this domain during this period. Open the file ‘hosts’ located at this path ‘WINDOWS\system32\drivers\etc\’ and add the ip address and your domain name as shown in given example
you can also do the same for sub domains
Note: The file ‘hosts’ may be readonly if you didn’t touch it before so first change the readonly. In Windows 7, there may be an issue of security while saving, so the simple technique it to open the Notepad with administrative rights and open the ‘hosts’ file from file->open.