Replace 'yourip' with the IP of the VPS and 'username' with the username of the account you create.
*GeekStorage.com, LLC - Offering awesome website hosting for over 9 years! * Shared Hosting * Reseller Hosting * Pure SSD VPS * Managed Dedicated *Powered by Geeks... and SSD's! - You're in good hands, geek hands. * Have questions? Send us an e-mail, we'd love to hear from you!
Well if you have WHM installed, you can make a test account for your new site. That way you will have your own cPanel for the test site. You will then be able to access it via http://serverIP/~username
Edit: JayH beat me to it by seconds. But same thing.
This item lets you allow cPanel users to create parked and addon domains that resolve to other servers. To make your selection, click the button corresponding to the option you wish to use. This value defaults to Off.
ALERT! Warning: Enabling this option can cause major security issues. We strongly recommend that you do not enable this option."
From cpanel documentation, you can fix the setting up new sites by going to Tweak Settings in your WHM and check the box for allowing remote domains.
You can set up an account in WHM and access it by the username of the account, as DaringHost mentioned. Use any fake domain name you want when setting up the account.
You can either refer to the site using the http://126.96.36.199/~username format (where all the "1" are your IP address) or edit your local HOSTS file on your computer. You can Google this, but if I recalll correctly, the format is to add a line like:
To the HOSTS file and then save it. Close and restart your browser after editing HOSTS.
Then, when you enter "http://fake-domain-name.com" in your browser it will resolve to the IP address listed in HOSTS, find the A record for the domain on the server and display the webpage.
Only you will resolve to the new domain name, on that particular computer, and you have to remember to remove the HOSTS file entry as it will take precedence over any remote DNS information.