Valandur / Web-API

RESTful web server for Minecraft Sponge including an admin panel
https://valandur.github.io/Web-API/
MIT License
66 stars 17 forks source link

[Question] Apache integration #140

Open Donekulda opened 4 years ago

Donekulda commented 4 years ago

Hello, im running the server on my VPS which runs on Ubuntu, and i have LAMP server installed and have own websites running there, is it possible to redirect my domain name to the WebAPI ? If yes, if i may ask how?

Valandur commented 4 years ago

Hi What you're looking for is possible using different methods.

You can either use your Apache server as a reverse proxy for the AdminPanel. This basically redirects the traffic for a (sub-)domain to the admin interface.

Or you can host the AdminPanel files yourself by downloading them here and putting them into a folder where your other website stuff is (you should probably make a new virtual host for the files). Then you can turn off the admin panel that is included in the WebAPI by using the config/webapi/main.conf file and setting adminPanel = false