-1
votes
1answer
59 views

mod_rewrite: Redirect https://example.com to https://sub.example.com [duplicate]

I have an domain example.com running on an Apache Server and I want to redirect every call to https://example.com to https://sub.example.com. I have a Virtual Host configured like this: ...
1
vote
0answers
46 views

Virtual hosts with port 80 & 443 not working

I can't figure out why I can't connect to my VPS. httpd.conf: i added: Listen 80 listen 443 NameVirtualHost *:80 NameVirtualHost *:443 <VirtualHost *:80> SSLEngine off ServerAdmin ...
0
votes
2answers
37 views

How do i properly configure multiple multiple SECURE virtual hosts - Apache 2.2.15 & RedHat 6

To start, this question might overlap with others but I almost feel like this is a Red Hat issue regarding the "how to properly configure it" part. I have a few websites being served from the same ...
0
votes
2answers
94 views

Wrong application loads on port 443

I have a server with two web application that configured as follow: app1: www.domain1.com has https version app2: www.domain1.com has not https version This is my VirtualHost config for ...
0
votes
1answer
40 views

Apache Serving Wrong Document Root

I have installed SSL on a subdomain of my site. Everything works perfectly, except this strange behavior. If I point my browser at the following locations, these document roots are served: ...
0
votes
0answers
56 views

How Do I Enable My Ubuntu Server To Host Various SSL-Enabled Websites?

Actually, I Have looked around for a few hours now, but I can't get this to work. The main problem I'm having is that only one out of two sites works. I have my website which will mostly be used for ...
1
vote
2answers
326 views

Multiple SSL vhosts using wildcard certificate in nginx

I have two hostnames sharing the same domain name which I want to serve over HTTPs. I've got a wildcard-SSL certificate and created two vhost configs: Host A listen 127.0.0.1:443 ssl; ...
0
votes
2answers
75 views

Setting two https on one IP, two domains also

I have two domains and one IP. Both domains listen on port 80. Also on port 443 listen one of the domains (from these two). But there is also possibility to access one of the domains only by IP. I ...
1
vote
0answers
1k views

Apache SSL configuration - Invalid method in request \x16\x03\x01

I'm trying to set up https service on my VirtualBox guest instance running Debian Squeeze and Apache 2. When trying to load my virtual host's test page in a browser from my Win7 host machine, I'm ...
0
votes
1answer
147 views

Apache Fails To Acknowledge HTTPS Virtual Host

I am running Apache 2.6 on my computer running Arch Linux. It runs a mail server, and because I wanted to setup webmail, I decided I would create my own SSL certificates, as only my friends and family ...
1
vote
2answers
75 views

How to configure multiple apache virtual hosts on multiple ports?

I have a server with one IP address. I want to run several virtual hosts in an Apache 2.2. And I want all virtual hosts to be accessible on port 80 (plain http), 8000 (plain http) and 443 (ssl). For ...
0
votes
0answers
65 views

Virtual servers on IIS 6 all get same content over HTTPS

We have several domains hosted on an IIS 6.0 server, i.e. example1.com example2.com example3.com The first site, example1.com, is available over both HTTP and HTTPS, and our certificate is for ...
0
votes
1answer
167 views

Could not resolve host — no address associated with name

I'm setting up a web server on an old OpenBSD machine, and am getting an error each time I try to start Apache. The server refused to start after I added my virtual host with HTTPS. Error could not ...
0
votes
1answer
96 views

apache client cert conditionally

seems to me very strange I couldn't find information neither questions but I'm in the situation of serving some sites over an apache reverse proxy. I have to switch all the traffic (also lan) over ...
2
votes
2answers
214 views

Apache Redirect from https to https

I am trying to redirect without a rewrite rule from eg https://www.domain.com to https://www.domain.net . I have a wildcard certificate for *.domain.net . This yields the following warning in my ...
0
votes
1answer
158 views

Apache is serving from the first virtualhost for all subdomains and main domain

Objective: To have multiple sub-domains working successfully with a wildcard SSL certificate. The sub domains do not have separate dedicated cpanel account, and hence share the same dedicated IP ...
0
votes
1answer
205 views

Configure VirtualHost to Rewrite HTTP://subdomain… to HTTPS://internaldirectory

How do I configure Apache to rewrite an http request for a subdomain to an https request for the correct directory? For example, I have the following VirtualHost configuration: However, this turns ...
1
vote
2answers
187 views

Apache: Multiple sites but no redirection ever

Please excuse if this is a beginner-level question, but I need some advice urgently. I want to run two websites, say foo.org and bar.info, on the same server. Both should be reachable by http and ...
0
votes
2answers
224 views

How can I get my https:// URL to work both with and without the “www”?

I thought I had ssl set up correctly, but I discovered a problem. This part is OK: ssldomain.com goes to https://ssldomain.com. But this isn't working: www.ssldomain.com is going to ...
1
vote
2answers
167 views

Please double check my SSL config. Is it OK?

I'm new to SSL. I set it up on my CentOS 5 system running Apache 2.2.3-65. It appears to be working -- a can browse my site and the https protocol is displayed in the address bar. Here's my SSL vhost ...
-1
votes
1answer
2k views

How to set up server/domain name correctly in hosts file with HTTPS

I am trying to do local network and I am using these kind of types of network. 1) Main server which connects to internet with static IP 2) Second computer connected to first one locally with address ...
0
votes
2answers
486 views

Apache httpd.conf Only use SSL for subdomain and give 404 for other https URLs

I have a current configuration for my website mail client: NameVirtualHost *:443 <VirtualHost *:443> SSLEngine on SSLCertificateFile /etc/pki/tls/certs/ca.crt ...
0
votes
1answer
428 views

Two virtual hosts with internal and external ip for same application, same port

Is it possible to have two virtual host configurations for the same server - one with internal ip address and one with domain name(the domain name points to the same server with the internal ip ...
2
votes
3answers
7k views

Need help trouble shooting Https webserver error - SSL Handshake failed

I followed this guide: http://hints.macworld.com/article.php?story=20041129143420344 Here is my virtual host definition <VirtualHost *:443> SSLEngine on SSLProxyEngine On ...
0
votes
1answer
118 views

Not going to the correct website root directory when using https

We have 2 sites hosted on an Apache server. everything with port80 is working fine, but when we try to connect using https we are redirected to the first document directory of port443 regardless of ...
1
vote
1answer
314 views

How to keep SSL access only on subdomain

I have Apache2 configured with a <VirtualHost *:80> ServerName y.com </VirtualHost> and subdomain <VirtualHost *:443> ServerName x.y.com </VirtualHost> The goal ...
1
vote
4answers
1k views

Apache Named Virtual Hosts and HTTPS

I have an SSL certificate which is valid for multiple (sub-) domains. In Apache I have configured this as follows: In /etc/apache2/apache2.conf NameVirtualHost <my ip>:443 Then for one named ...
0
votes
2answers
198 views

Named Virtual Hosts + HTTPS Shouldn't Work?

The Apache httpd documentation says that name based virtual hosts don't work with SSL. But our sites are working in a configuration like that! In site1.conf, we have <VirtualHost *:443> ...
0
votes
1answer
344 views

Problem redirecting http to https with apache

I have a virtual host setup in apache, that works for SSL only. It is setup as so: <VirtualHost 8.8.8.8:443> <IfModule mod_ssl.c> SSLCertificateFile /home/me/server.crt ...
6
votes
4answers
2k views

Apache configuration with virtual hosts and SSL on a local network

I'm trying to setup my local Apache configuration like so: http://localhost/ should serve ~/ http://development.somedomain.co.nz/ should serve ~/sites/development.somedomain.co.nz/ ...