D
D
DEnisLEB2019-05-29 15:19:03
Apache HTTP Server
DEnisLEB, 2019-05-29 15:19:03

How to disable ssl for ip?

I have a home server with 2 sites on it. When accessing by ip , I get to the root (that's how it should be), but when accessed by https://ip , I get to one of the sites, but I want to make sure that requests by ssl://ip do not go through (only through the domain )

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
ky0, 2019-05-29
@ky0

Set up the Apache configuration piece responsible for default HTTPS processing accordingly, what's the difficulty?

S
SubGANs, 2019-06-01
@SubGANs

You have a default config without https, and one of the sites has https, so when you access port 443, Apache gives you this site.
You need to add the settings for https to the default config, then everything will be opened by ip in the same way. Or transfer the site with the certificate to a separate ip, then only it will open via https, and the rest will not.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question