httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From angel Hall-Coulston <rammstein...@me.com.INVALID>
Subject Re: [users@httpd] IP address show Apache welcome page but domain name working!
Date Sat, 26 Sep 2020 08:38:13 GMT
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 <https://community.letsencrypt.org/t/how-to-create-a-san-cert/30446>


> On 25 Sep 2020, at 22:11, Jason Long <hack3rcon@yahoo.com.INVALID> wrote:
> 
> How?
> I don't know it is a hard task!!!
> 
> 
> 
> 
> 
> On Friday, September 25, 2020, 04:03:45 PM GMT+3:30, Jonathon Koyle <litereader@gmail.com>
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, 11:28 AM Jason Long <hack3rcon@yahoo.com.invalid> wrote:
>> I'm using Let's Encrypt. Is it not enough?
>> 
>> 
>> 
>> 
>> 
>> 
>> On Thursday, September 24, 2020, 08:45:06 PM GMT+3:30, Eric Covener <covener@gmail.com>
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 <hack3rcon@yahoo.com.invalid> wrote:
>>> 
>>> How can I solve it?
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> On Thursday, September 24, 2020, 06:54:08 PM GMT+3:30, Eric Covener <covener@gmail.com>
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 <hack3rcon@yahoo.com.invalid>
wrote:
>>>> 
>>>> I added an [OR] an the end of "RewriteCond %{SERVER_NAME} =www.example.net"
line but not matter.
>>>> When I browse my website by its IP address then browser show me "Your connection
is not private".
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On Thursday, September 24, 2020, 06:40:46 PM GMT+3:30, Eric Covener <covener@gmail.com>
wrote:
>>>> 
>>>> 
>>>> 
>>>> 
>>>> 
>>>> On Tue, Sep 22, 2020 at 3:38 AM Jason Long <hack3rcon@yahoo.com.invalid>
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 Virtual Host config is:
>>>>> 
>>>>> RewriteEngine on
>>>>> RewriteCond %{SERVER_NAME} =mydomain.com [OR]
>>>>> RewriteCond %{SERVER_NAME} =www.mydomain.com
>>>>> RewriteCond %{HTTP_HOST} ^"Server IP Address"
>>>> 
>>>> Missing an [OR[ here on 2nd condition?
>>>> 
>>>> 
>>>>> RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
>>>>> 
>>>>> But problem not solved.
>>>>> Thank you.
>>>> 
>>>>> 
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>>> 
>>>> 
>>>> 
>>>> --
>>>> Eric Covener
>>>> covener@gmail.com
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>> 
>>> 
>>>> 
>>>> 
>>>> 
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>>> For additional commands, e-mail: users-help@httpd.apache.org
>>>> 
>>> 
>>> 
>>> --
>>> Eric Covener
>>> covener@gmail.com
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>> 
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>> For additional commands, e-mail: users-help@httpd.apache.org
>>> 
>> 
>> 
>> --
>> Eric Covener
>> covener@gmail.com
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 

          www.art2.art <http://www.art2.art/>





Mime
View raw message