SA-MP Forums Archive
How to make a webpage on the same VPS? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How to make a webpage on the same VPS? (/showthread.php?tid=480057)



How to make a webpage on the same VPS? - dipsnark - 08.12.2013

Hey!

I want to make a webpage on the same VPS where my samp server is. So there would be two domains: webpage.domain.com and server.domain.com.

But since all of these domains pointing to the same IP address i can use the webpage domain as the server's IP. Can this be avoided somehow? So only the server.domain.com could be used as the server's ip.

Thanks!


Re: How to make a webpage on the same VPS? - Khanz - 08.12.2013

I don't understand what's wrong with pointing it like that.
But even if you allow one to access the web page they're both going to connect in samp.

You could try sending that domain a 301 or a redirecting it to another website in .htaccess.


Re: How to make a webpage on the same VPS? - Sithis - 09.12.2013

Just remove the webpage record from your DNS settings. Then run a webserver on your VPS and server.domain.com would be used for both your webpage and server.