PC htdocs just create a file called index.phpCorrect.
<?php header('Location: LINK TO VPS DOMAIN'); ?>
I did that: this was the link:PC htdocs just create a file called index.php
and have this one line of code:
PHP:<?php header('Location: LINK TO VPS DOMAIN'); ?>
Then when everyone goes to your localhost on your PC it will automatically send them to the VPS domain
That wasn't the problem.. the problem was, you were linking sharp-hotel.com without http:// so the browser will think it's another directory/file at the same location (site).Worked thanks, didn't work with the .html, but I took it out and worked!
It was, but I filled in what he needs to paste without hassle.Because the page was not a .html file anyways good it worked! and its exactly what I posted?!?!