SA-MP Forums Archive
Link your site with your server (EX: server.gta-pr.com) - 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: Link your site with your server (EX: server.gta-pr.com) (/showthread.php?tid=256054)



Link your site with your server (EX: server.gta-pr.com) - Jochemd - 18.05.2011

Hello,

I want to link my server with a sub-domain on my site. So when you enter 'server.gta-pr.com' in your favourites, it shows up (just like SACNR did). How can I do this?

Jochem


Re: Link your site with your server (EX: server.gta-pr.com) - Ironboy500[TW] - 18.05.2011

You have to point your sub domain to server IP. Once this is done, wait 24 hours and things should work.


Re: Link your site with your server (EX: server.gta-pr.com) - Jochemd - 18.05.2011

You mean redirect? Could you give an example?


Re: Link your site with your server (EX: server.gta-pr.com) - Ironboy500[TW] - 18.05.2011

Just add A record that will point server.your-domain.com to IP of your server. Who is your domain registrar?


Re: Link your site with your server (EX: server.gta-pr.com) - *IsBack - 18.05.2011

Quote:
Originally Posted by Ironboy500[TW]
View Post
You have to point your sub domain to server IP. Once this is done, wait 24 hours and things should work.
When I tried that on my host, it did not worked. So my hosting provider edited .htaccess file, but I don't remember what he did there.
I think it should be done using CNAMES (or something similar.. can't remember how it's called), but not just simple redirect.


Re: Link your site with your server (EX: server.gta-pr.com) - lowrida018 - 18.05.2011

Are you talking about the dns?


Re: Link your site with your server (EX: server.gta-pr.com) - Jochemd - 18.05.2011

My host is GTA Multi, domain: http://cactus.ee


Re: Link your site with your server (EX: server.gta-pr.com) - lowrida018 - 18.05.2011

Who did you buy the domain from?


Re: Link your site with your server (EX: server.gta-pr.com) - Jochemd - 19.05.2011

From cactus.ee


Re: Link your site with your server (EX: server.gta-pr.com) - *IsBack - 19.05.2011

Check in your hosting's cpanel (not DNS or domain's). If it doesn't use cPanel, you'll have to edit .htaccess file manually.