How can i use a website.......................

[redsun]Akshay2

Active member
Joined
Oct 1, 2016
Messages
65
Reaction score
1
Location
USA
how can i use a website adress to host a samp server with for eg my website aress is redsunakshay2.com 
pls help i need to do like for example redsunakshay2.com:7777
 

Parazitas

God
Joined
Jan 2, 2017
Messages
3,116
Solutions
5
Reaction score
882
Location
Lithuania
1. Go to DirectAdmin Login Page or something....
2. Log in
3. Goto DNS Management or something....
4. Find Add Domain Records or something....
5. In first box input " samp " , in other your server ip " justhost5454 "
6. Press add or something....
 

monday

Expert
Joined
Jun 23, 2014
Messages
1,126
Solutions
1
Reaction score
157
use no-ip.com + set your router settings:
-forward port 7777
-set the router update your IP to no-ip.com if there's such option, if it's not available download no-ip client or make your own in python for example:

Code:
import urllib, time

myurl = "myserver.servegame.com" # "servegame.com" is avalable on no-ip.com
username = "michalmonday"
password = "sikrit"

myip = urllib.urlopen("http://iptools.bizhat.com/ipv4.php").read()
update_url = "http://" + username + ":" + password + "@dynupdate.no-ip.com/nic/update?hostname=" + myurl + "&myip=" + myip
oldip = myip
while True:
    myip = urllib.urlopen("http://iptools.bizhat.com/ipv4.php").read()
    if myip != oldip:
        print "IP changed:"
        print "Old IP=" + oldip
        print "New IP=" + myip
        update_url = "http://" + username + ":" + password + "@dynupdate.no-ip.com/nic/update?hostname=" + myurl + "&myip=" + myip
        print 'no-ip.com response=' + urllib.urlopen(update_url).read()
        oldip = myip
    time.sleep(20)


Router settings vary so it's difficult to find the exact tutorial, I change mine at the address: 192.168.0.1

By default, most router manufacturers use 192.168.0.1 or 192.168.1.1 as the default LAN IP address

Idk how to forward ports on your router but on mine I go to the address above (input it in the browser just like google.com), then go to "Security -> Services" add a service for 7777 port, then to "Security -> Firewall Rules and add the newly created service under "Inbound Services" where local IP of my PC has to be put (use command prompt -> ipconfig to see your local IP)

If you go to your default router page (probably 192.168.0.1) and it asks you for a login/password then find it on google, for mine default was: sky/0000
 
Top