Answer the question
In order to leave comments, you need to log in
Webserver config?
Hello.
There is a server on DigitalOcean with a dedicated IP running Ubuntu OS. The nginx+apache+php+mysql bundle is installed on the server. At the moment, 1 domain with SSL certificate support is attached to the server.
Can you please tell me if it is possible to attach several more domains without SSL support to a server with this configuration. It is important here that only 1 domain with SSL works on 1 IP, and all the others work without SSL. If yes, then how to do it?
If necessary, I can post the nginx and apache configuration files later.
I don’t really want to experiment, since there is now a working project.
Answer the question
In order to leave comments, you need to log in
You can attach anything.
Hint: domains have nothing to do with protocols. The domain is bound to the IP through the name server. The web server is configured in the web server configuration. SSL is configured as an option in the web server configuration.
Throwing out your files so that an outside uncle rewrites them for you is not necessary.
If the project is working, and you are afraid of breaking it, hire a specialist. For example, ask someone who "attached" a domain with SSL support.
Do not think that a passer-by lamer from the Internet, who doesn’t give a damn about your servers and projects, will do better.
So just safely bind these domains to the server through DigitalOcean's DNS management. Then, in the Apache settings (or Nginx, whatever you have on the front), you bind the domains to the corresponding folder on the server.
It seems that there should not be any difficulties, and it’s also difficult to break something here.
Firstly, you need to stop using Apache, and secondly, read the documentation for beginners on nginx.org. Third, come back here when there are specific questions.
1. Throw Apache in the trash.
2. Yes, it can be done.
Call a specialist, they will work for an hour or two, $20-$40, and everything will work for you.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question