How do I run website & server on dedi/vps?

Status
This thread has been locked.

MetalMonkey

Lawyer, Corporate Executive, Engineer
Banned
Feedback score
62
Posts
2,368
Reactions
1,515
Resources
0
I am looking at purchasing a dedi or vps in the next few days, but I am first wondering how I would run a minecraft server & my website (xenforo) off of the dedi, that way the domain will only be directed to 1 ip address, resulting in players able to join the website & server through something like prxcraft.com
 
Type
Offering
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

Jayson

Supreme
Feedback score
17
Posts
1,258
Reactions
741
Resources
0
Install Apache or NGINX, install php and things related to php such as php-fpm, configure a server block if you want, done. It's really not complicated.

CentOS:
yum install nginx -y
yum install php php-fpm php-curl -y
....

I don't feel like typing all this on my tablet!
 
Last edited:

Ore0

Digital Minecraft Artist
Supreme
Feedback score
17
Posts
262
Reactions
259
Resources
0
I literally just brought a VPS from OVH around a couple of days ago. I was able to install Apache and PHP on the sever to get my website working. I was also able to install a Minecraft server onto the VPS and you can connect to the website at example.com and you can connect to the server at example.com. If you need help with it, I know someone who may be able to help, just PM me! :D
 

MetalMonkey

Lawyer, Corporate Executive, Engineer
Banned
Feedback score
62
Posts
2,368
Reactions
1,515
Resources
0
Thanks for the quick answered guys, really appreciate it!
 
Banned forever. Reason: Scamming Intent

Samuel

The most serious person ever.
Supreme
Feedback score
33
Posts
2,210
Reactions
1,572
Resources
0
I literally just brought a VPS from OVH around a couple of days ago. I was able to install Apache and PHP on the sever to get my website working. I was also able to install a Minecraft server onto the VPS and you can connect to the website at example.com and you can connect to the server at example.com. If you need help with it, I know someone who may be able to help, just PM me! :D
pls dont use apache

PM me if you have money for this. I can get your website running on your VPS for £10

+ server (assuming you want Multicraft) = +£15
+ server (assuming just a simple screen setup) = +£5
 
Last edited:

Ore0

Digital Minecraft Artist
Supreme
Feedback score
17
Posts
262
Reactions
259
Resources
0
pls dont use apache

PM me if you have money for this. I can get your website running on your VPS for £10
Ohh I just fought it was the mainstream standard, is Apache not the best option for running web servers?
 

Samuel

The most serious person ever.
Supreme
Feedback score
33
Posts
2,210
Reactions
1,572
Resources
0
Ohh I just fought it was the mainstream standard, is Apache not the best option for running web servers?
Apache uses more resources than NGINX and offers no note-worthy benefit for most websites.
NGINX also has much, much nicer configuration files.
 

Walter White

Selling the Blue Stuff
Premium
Feedback score
22
Posts
231
Reactions
113
Resources
0
Yeah thats a fair point, I've always used apache and have never had a problem with it. But I know NGINX and its benefits if you aren't familiar with either use NGINX
 

MetalMonkey

Lawyer, Corporate Executive, Engineer
Banned
Feedback score
62
Posts
2,368
Reactions
1,515
Resources
0
It looks like most people are just talking about web hosting.

How would I run a minecraft server & the website on the same dedi/vps, and both on the same ip address
 
Banned forever. Reason: Scamming Intent

UElitez

Clovux - Hosting Provider
Ultimate
Feedback score
0
Posts
132
Reactions
21
Resources
0
It looks like most people are just talking about web hosting.

How would I run a minecraft server & the website on the same dedi/vps, and both on the same ip address
This is actually quite easy.
The Minecraft server and web server will both run in different ports (25565 and 80 respectively), so there won't be any conflicts.
When a player connects with the IP in Minecraft, they'll join the Minecraft server and when they visit the IP in their browser they'll be on the website.

If you're looking to install a panel (such as Multicraft) to manage the Minecraft server, then you'll need to install the web server with that. Otherwise you would be using bash scripts and screen to run the Minecraft server, and the web server would be installed separately.

We offer managed dedicated servers and VPS, so if you're interested and need help with backend stuff, just PM us and we'll work something out! :)
 

Samuel

The most serious person ever.
Supreme
Feedback score
33
Posts
2,210
Reactions
1,572
Resources
0
£1/minute o.o. It's simple and not at all time consuming. If you need a server set up on a dedi/vps, I'll do it for free. ;c
Legend has it I somewhat cover the cost of simply discussing some of the stuff with clients in the fee itself :eek:
 

Jayson

Supreme
Feedback score
17
Posts
1,258
Reactions
741
Resources
0
Legend has it I somewhat cover the cost of simply discussing some of the stuff with clients in the fee itself :eek:
but, but but you could just make a simple command and place it into /usr/bin ;c

Code:
#!/bin/sh
if [ -z "$1" ]
echo "Please specify an action"
fi
if [[ "$1" = "start" ]]; then
if [ -z "$3" ]
echo "Argument 3, jar file"
fi
if [ -z "$2" ]
echo "Argument 2, server name required"
fi
screen command and stuff: screen -S $2 java... $3
echo "Started the dumb server"
fi
if [[ "$1" = "stop" ]]; then
whatever
fi
if [[ "$1" = "restart" ]]; then
stop then run start...
fi
exit
Pretend that's a file named "startserver" with the chmod a+rx in /usr/bin, so now I can execute "startserver" from anywhere and I can start the server easily!

Really not that complex :p that's just something I compiled in a minute. For MultiCraft installations, so people can't sue me, I provide them with a command to install the license instead of me doing it or teaching em' how. >:D
 
Last edited:

Samuel

The most serious person ever.
Supreme
Feedback score
33
Posts
2,210
Reactions
1,572
Resources
0
but, but but you could just make a simple command and place it into /usr/bin ;c

Code:
#!/bin/sh
if [ -z "$1" ]
echo "Please specify an action"
fi
if [[ "$1" = "start" ]]; then
if [ -z "$3" ]
echo "Argument 3, jar file"
fi
if [ -z "$2" ]
echo "Argument 2, server name required"
fi
screen command and stuff: screen -S $2 java... $3
echo "Started the dumb server"
fi
if [[ "$1" = "stop" ]]; then
whatever
fi
if [[ "$1" = "restart" ]]; then
stop then run start...
fi
exit
Pretend that's a file named "startserver" with the chmod a+rx in /usr/bin, so now I can execute "startserver" from anywhere and I can start the server easily!

Really not that complex :p that's just something I compiled in a minute. For MultiCraft installations, so people can't sue me, I provide them with a command to install the license instead of me doing it or teaching em' how. >:D
I can provide people things for free

I just don't. I'm here to make money.
 

MetalMonkey

Lawyer, Corporate Executive, Engineer
Banned
Feedback score
62
Posts
2,368
Reactions
1,515
Resources
0
What dedi or vps do you guys recommend I get for this
 
Banned forever. Reason: Scamming Intent

Jayson

Supreme
Feedback score
17
Posts
1,258
Reactions
741
Resources
0
What dedi or vps do you guys recommend I get for this
I sell VPSes :? https://xenonode.com/ , PM me for a custom quote/discounts. I also provide free tech support and scripts such as the one mentioned earlier, but more advanced. If you want a dedi, ReliableSite is decent. Psychz is known for its blacklisted IPv4s, so try and stay away from em'.
 
Last edited:

Annie

ApolloSMP
Supreme
Feedback score
20
Posts
682
Reactions
402
Resources
9
wholesaleinternet.net
 
Status
This thread has been locked.
Top