Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-26 Thread angel Hall-Coulston
So sorry, forgot to add link in last message; early day and not enough tea… here is the link hope this helps: https://community.letsencrypt.org/t/how-to-create-a-san-cert/30446 > On 25 Sep 2020, at 22:11, Jason Long wrote:

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-26 Thread angel Hall-Coulston
Hi, I’m not familiar with 'Let’s Encrypt' but the following link should be of help. I recommend you sign up to their community if you need to post other questions if you don’t find the answer there. Have a good day friend  > On 25 Sep 2020, at 22:11, Jason Long wrote: > > How? > I don't know

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-25 Thread Jason Long
How? I don't know it is a hard task!!! On Friday, September 25, 2020, 04:03:45 PM GMT+3:30, Jonathon Koyle wrote: Let's Encrypt does issue certs with SAN, but you would have to specify the IP in your CSR, what that looks like depends on what LE you are using. On Thu, Sep 24, 2020,

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-25 Thread Jonathon Koyle
Let's Encrypt does issue certs with SAN, but you would have to specify the IP in your CSR, what that looks like depends on what LE you are using. On Thu, Sep 24, 2020, 11:28 AM Jason Long wrote: > I'm using Let's Encrypt. Is it not enough? > > > > > > > On Thursday, September 24, 2020, 08:45:06

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-24 Thread Jason Long
I'm using Let's Encrypt. Is it not enough? On Thursday, September 24, 2020, 08:45:06 PM GMT+3:30, Eric Covener wrote: Use a certificate valid for (SAN entry) your IP or don't access the server via the IP. On Thu, Sep 24, 2020 at 11:26 AM Jason Long wrote: > > How can I solve it? >

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-24 Thread Eric Covener
Use a certificate valid for (SAN entry) your IP or don't access the server via the IP. On Thu, Sep 24, 2020 at 11:26 AM Jason Long wrote: > > How can I solve it? > > > > > > > On Thursday, September 24, 2020, 06:54:08 PM GMT+3:30, Eric Covener > wrote: > > > > > > This is not avoidable. > The

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-24 Thread Jason Long
How can I solve it? On Thursday, September 24, 2020, 06:54:08 PM GMT+3:30, Eric Covener wrote: This is not avoidable. The SSL handshake is always going to happen before the server has any chance to redirect a request. On Thu, Sep 24, 2020 at 11:20 AM Jason Long wrote: > > I added

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-24 Thread Eric Covener
This is not avoidable. The SSL handshake is always going to happen before the server has any chance to redirect a request. On Thu, Sep 24, 2020 at 11:20 AM Jason Long wrote: > > I added an [OR] an the end of "RewriteCond %{SERVER_NAME} =www.example.net" > line but not matter. > When I browse my

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-24 Thread Eric Covener
On Tue, Sep 22, 2020 at 3:38 AM Jason Long wrote: > > Hello, > When I visit my website by its IP address the welcome page of Apache showed, > but with "https://domain-name.net; everything is OK. How can I block direct > access by IP or forward it to domain? > I enabled "mod_rewrite" and my

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-24 Thread Jason Long
Can anyone here help me? On Tuesday, September 22, 2020, 04:56:50 PM GMT+3:30, Jason Long wrote: I did: # httpd -S [Tue Sep 22 16:54:21.799963 2020] [so:warn] [pid 1419476:tid 139725243156800] AH01574: module reqtimeout_module is already loaded, skipping [Tue Sep 22 16:54:21.800135

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-22 Thread Jason Long
I did: # httpd -S [Tue Sep 22 16:54:21.799963 2020] [so:warn] [pid 1419476:tid 139725243156800] AH01574: module reqtimeout_module is already loaded, skipping [Tue Sep 22 16:54:21.800135 2020] [so:warn] [pid 1419476:tid 139725243156800] AH01574: module headers_module is already loaded, skipping

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-22 Thread Yehuda Katz
That file is for Debian-flavor distributions. On RedHat-flavors, a similar file would be in /etc/httpd/conf.d if it exists (not in conf.modules.d though). You can check which files have the actual config for a vhost by running the command 'httpd -S'. - Y Sent from a device with a very small

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-22 Thread Jason Long
Where is "000-default.conf" file? I have not it!! # ls /etc/httpd/conf.modules.d/ 00-base.conf           00-proxy_timeout.conf  10-mod_security.conf 00-dav.conf            00-ssl.conf            10-proxy_h2.conf 00-lua.conf            00-systemd.conf        15-php.conf 00-mpm.conf           

Re: [users@httpd] IP address show Apache welcome page but domain name working!

2020-09-22 Thread Walter Penn
Jason Long wrote: When I visit my website by its IP address the welcome page of Apache showed, but with"https://domain-name.net; everything is OK. How can I block direct access by IP or forward it to domain? In the 000-default.conf put these lines: RewriteEngine on RewriteRule ^/

[users@httpd] IP address show Apache welcome page but domain name working!

2020-09-22 Thread Jason Long
Hello, When I visit my website by its IP address the welcome page of Apache showed, but with "https://domain-name.net; everything is OK. How can I block direct access by IP or forward it to domain? I enabled "mod_rewrite" and my Virtual Host config is: RewriteEngine on RewriteCond