1. Introduction:
You are the shared hosting VinaHost without registering domains at VinaHost. After registering hosting package you should transfer domain to the ip address of VinaHost.
However, if they are still using Hosting of another providers, you can also configure to check and transfer data to VinaHost. As sure everything is stable, it can transfer domain to VinaHost for Website works normally
2. Fundamentals:
You need to resolve your domain name (eg yourdomain.com) to VinaHost IP address (for example: 210 211 110 131). The resolution is done via DNS, but we can interfere with the resolution of domain at your computer, by specifying yourdomain.com with IP 210 211 110 131
3. Details Guide
Hosts file configuration
Add the following line at the end of the hosts file:
210.211.110.131 yourdomain.com
Corresponding to each different operating system, the filehosts in the corresponding folder.
+ Operating Systems Windows: File hosts in the folder C: \ Windows \ System32 \ drivers \ etc
+ Linux: File hosts in the / etc directory
+ Operating system Mac: File hosts in the / private / etc
b. Clear DNS cache to ensure the right access
+ Windows: In CMD at the command prompt type ipconfig / flushdns
+ Linux: In terminate command: service nscd restart
+ Mac: Type the command in the Terminal window: dsCacheutil -flushCache
c. Check
+ Direct access to the website to check. Yourdomain.com you access using the browser for a check, this time will be placed on VinaHost website.
+ Query DNS with nslookup.
Nslookup command typed in the command line window (of the 3 OS). Then enter the yourdomain.com domain check, if the result is correct 210 211 110 131 IP investigations.
Link: http://vinahost.vn/ac/knowledgebase/85/Hng-dn-cch-test-website-khi-cha-tr-domain-v-Vinahost.html