How do i connect to a VPS

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Ninjaoninja2
Posts: 194
Joined: 22 Sep 2013, 23:33

How do i connect to a VPS

Postby Ninjaoninja2 » 13 Nov 2013, 19:50

Hello,
I have my game setup the way i want and now i want to connect to my ubuntu vps which is hosted by vpscheap.net i havent messed with any of the port stuff yet but i want to know i can configure it right then put it on the server so others can connect also can i use my vps'es ip as a domain?
User avatar
Lapo
Site Admin
Posts: 21690
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How do i connect to a VPS

Postby Lapo » 13 Nov 2013, 20:14

Yes, you will just need to download and install SFS on the VPS, so download the Linux version (32 or 64 bit depending on your OS).
Once you are done the main setup is just to configure the Server to run on the VPS IP address. AdminTool > Server Settings.

I highly recommend to check the documentation if you have any doubts:
http://docs2x.smartfoxserver.com/Gettin ... stallation

also can i use my vps'es ip as a domain?

Yes.

Cheers
Lapo
--
gotoAndPlay()
...addicted to flash games
Ninjaoninja2
Posts: 194
Joined: 22 Sep 2013, 23:33

Re: How do i connect to a VPS

Postby Ninjaoninja2 » 13 Nov 2013, 20:31

Thank you soo much
Ninjaoninja2
Posts: 194
Joined: 22 Sep 2013, 23:33

Re: How do i connect to a VPS

Postby Ninjaoninja2 » 13 Nov 2013, 23:25

Lapo wrote:Yes, you will just need to download and install SFS on the VPS, so download the Linux version (32 or 64 bit depending on your OS).

When you say I will need to download the Linux version how will I edit my files because I am on a windows computer but my VPS is a Ubuntu
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: How do i connect to a VPS

Postby rjgtav » 14 Nov 2013, 02:01

Hi,

You can use a SSH client like Putty in order to connect to your VPS and manage it.
Alternative, if your VPS supports it, you can use a FTP File Manager in order to edit the files.

Cheers
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
User avatar
Lapo
Site Admin
Posts: 21690
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: How do i connect to a VPS

Postby Lapo » 14 Nov 2013, 08:01

If you are not familiar with how Linux works it would probably be better to start with a Windows VPS, it will save you some headaches :)

In any case an SSH access is typically available out of the box on most Linux VPS. You can use your favorite FTP client and connect to the VPS using port 22 (SSH/SFTP), to navigate the file system and edit the configuration files.

A more convenient solution is to use one of our Cloud Partners which provide an super easy way to start up a virtual server with SFS2X ready to run.
See here: http://www.smartfoxserver.com/cloud/

cheers
Lapo

--

gotoAndPlay()

...addicted to flash games
Ninjaoninja2
Posts: 194
Joined: 22 Sep 2013, 23:33

Re: How do i connect to a VPS

Postby Ninjaoninja2 » 14 Nov 2013, 16:57

If you are not familiar with how Linux works it would probably be better to start with a Windows VPS, it will save you some headaches

In any case an SSH access is typically available out of the box on most Linux VPS. You can use your favorite FTP client and connect to the VPS using port 22 (SSH/SFTP), to navigate the file system and edit the configuration files.

A more convenient solution is to use one of our Cloud Partners which provide an super easy way to start up a virtual server with SFS2X ready to run.
See here: http://www.smartfoxserver.com/cloud/

cheers

I actually have some experience with putty so i will use that :)

Return to “SFS2X Questions”

Who is online

Users browsing this forum: jackhuang89 and 36 guests