Reverse Proxy
59 minutes ago, MartinIAm said:How would I transfer the websites? Especially for Wordpress. Would I have to reinstall it and install it back from a backup? And I’m also running iredmail. I think it would be a bit more complicated to transfer everything to one server, but if you could help me guide me through transferring it that would be a very big help. In the other case, setting a reverse proxy on one dedicated server would make it so there are more recourses like cpu cores and ram available to each dependent server. I hope that you can help me. Thank you
Reverse proxy is quite simple if you read the guide for the web server you use.
However multiple websites on a single IP is not a reason to use reverse proxy, if you had a few houndred websites that spaned across serval servers it would be a reason. But with 2-50 websites it's completely pointless. Unless you are serving terabytes of data that simply don't fit on a single server.
A raspberry Pi can run all basic web services quite easily, this includes www data, email servers etc. There are abselutely no reason to seperate these services. Anyways...
Wordpress or other CMS doesen't affect the SSL certificate, an SSL certificate just confirms that the website is indeed served from the server it say it is from. It's kinda like having a personal identification.
Each web server works quite alike. By default apache or nginx even IIS, will service the first folder defined in the configuration file first as default. To have other websites served by the same server you need to define what domain they are going to respond to in you're example i used example.com and example2.com for this. When you then point an A record to 0.0.0.0 -> in example.com this will send a request to the web server you use to get the content for the curresponding website.
This is even true if you have your own DNS servers, where A WWW IN 0.0.0.0 equals to example.com.
I know this is alot of jibberish. But as you don't give any information about what web server you use, or if you actually have an DNS server or just point back the A records there is very little help in any response other than giving you the logic behind the services you are trying to run.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now