1
vote
0answers
16 views

Subdomain redirecting to HTTPS despite lack of rewrite rule

I have a domain at staging.example.com which I want to run without HTTPS for testing purposes. The main domain (example.com) does use SSL. I am trying to find a rewrite rule that will forward to ...
0
votes
2answers
38 views

Subdomains Always Redirect To Main Domain - Apache2 VirtualHosts & Debain

I want to set up a main site, and a sub-domain for development, using apache2 VirtualHosts. This is what my site.conf virtual host file looks like: <VirtualHost *:80> ServerName ...
-1
votes
2answers
24 views

Apache add subdomain

I need to add a subdomain to this server, i added this NameVirtualHost *:80 <VirtualHost *:80> DocumentRoot /var/www/html ServerName images.login.acorn.lt </VirtualHost> ...
0
votes
1answer
59 views

How can I persuade a wordpress bitnami module to operate on a subdomain?

So I have bitnami's LAMP stack running, and I have a wordpress module installed within it. I want my wordpress installation to live at blog.example.com, and any wordpress links to remain under ...
0
votes
1answer
26 views

Under what circumstances would two identical subdomains on the same server behave differently?

I have two subdomains in the same parent folder on the same disk on the same physical server, operating under the same instance of Apache2 and all its mods. How do I know the folders are identical? ...
1
vote
1answer
69 views

Sub-domain setup doesn't work Apache 2.2.26 on Amazon EC2

I tried setting up a sub-domain for my site example.com. It doesn't seem to resolve to the proper directory. Below is my setup Main domain: example.com Subdomain: subdomain.example.com DNS records: ...
-1
votes
1answer
119 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: ...
0
votes
1answer
40 views

Apache2 - Virtual hosts, directing all traffic besides set subdomains to a certain subdomain?

I am currently making use of an alternate sub-domain (besides www) that i am hosting with apache. I am struggling to understand how something works within this. I have for example, dev.test.com and ...
1
vote
2answers
1k views

Subdomains returning HTTP 403 after updating Apache from 2.2 to 2.4

After an operating system upgrade which involved updating Apache from 2.2 to 2.4, I'm now getting 403s trying to access http://files.fierydragonlord.com/ and http://status.fierydragonlord.com/. ...
2
votes
2answers
192 views

Use subpath internal proxy for subdomains, but redirect external clients if they ask for that subpath?

I have a VirtualHost that I'd like to have several subdomains on. (For the sake of clarity, let's say my domain is example.com and I'm just trying to get started by making foo.example.com work, and ...
0
votes
1answer
307 views

Redirecting sub-domains of different domains to the same site

I have a cloud VPS on which I am hosting a few sites on behalf of a few clients. My Apache is configured with VirtualHosts (I use Zpanel), so each site has its own root folder, and from the DNS ...
0
votes
1answer
132 views

How to setup apache to have overlapping virtual host wildcard server aliases?

I have a development setup of subdomains with apache/wamp, everything is working as I need with the "regular" setup and separately with the "xyz" setup, but I have to change the configuration and ...
0
votes
1answer
26 views

Apache2 sending 404 on not matched subdomain

How can I send 404 if subdomain is not found? For example if I have something like this: <VirtualHost *:80> ServerName www.example.com DocumentRoot /var/www <all other stuff> ...
1
vote
0answers
81 views

Mass virtual hosting and subdomain

I'm trying to setup zero-config web-development environment: wildcard DNS plus dynamic virtual hosts. Here is my v-hosts config: NameVirtualHost *:80 <VirtualHost *:80> ServerAlias *.dev ...
3
votes
1answer
416 views

Munin in a subdomain using Apache Virtual Host

I'm trying to install Munin in my server and configure the web interface to work in a subdomain. I've configured the subdomain stats.mysite.com and created the file ...
0
votes
1answer
33 views

Subdomain not linking with folder

The subdomain is working and connecting to my website but linking to the root and no the folder I thought I was linking to. <VirtualHost *:80> DocumentRoot /var/www/html/backend ServerName ...
0
votes
1answer
61 views

Apache mass subdomain hosting

I want to offer custom subdomains for my customers. I can add virtual host configuration for each subdomain but it gets a overwhelming job as the number of users increase. What I currently use is ...
1
vote
1answer
72 views

Multiple VirtualHosts files for subdomains in apache2

I'm new with apache2 and virtualHosts and all these things, I'm trying to set multiple subdomains, each in one file. For example, I'll have quentin-dommerc.com file in site-available : ...
0
votes
1answer
76 views

Adding subdomain to virtual host - Apache just says “It Works”

I have added sub.example.com as a new A record in my DNS manager, and created the virtual host file: <VirtualHost *:80> ServerAdmin webmaster@example.com ServerName sub.example.com ...
2
votes
1answer
144 views

Apache redirect domain and all subdomains

I have an Apache configuration setup with multiple virtual hosts as subdomains. I have just purchased a new domain name, and I want all requests to this domain name to redirect to the new one, ...
0
votes
2answers
71 views

Virtualhost - defning subdomains each with separate folder

I currently have one main domain: mydomain.com This is working fine. What im trying to do is now adding a subdomain through my mydomain.conf file, so that I can have: sub.mydomain.com I've tried ...
1
vote
1answer
91 views

name-based virtual host - specify a domain name and also leave the ip address open

I have a domain name called dumbdom.com. I have an elastic IP for my AWS EC2 instance called my.ela.stic.ip. The htdocs root of my linux based EC2 instance is at /var/www/html/. I have set up the ...
1
vote
1answer
103 views

Creating subdomain on Debian

I have Debian server with a site running, I wanted to create sub-domain, so I created file in the sites-available dir. In the file: <VirtualHost *:80> ServerName shop.domain.com ...
0
votes
1answer
71 views

Apache2 Doesn't Serve Subdomain Alias

I'm trying to prefix an existing Rails application with a sub-domain, essentially I want the sub-domain to serve the same application. Right now apache2 serves my application with "www.example.com" ...
0
votes
3answers
115 views

managing same domain name with multiple sub domains with different physical servers

I am having one primary temp domain www.product.com For each client i need to have separate sub domain mapped to same server with same port(80) through virtual host. www.client1.product.com ...
0
votes
1answer
87 views

How to test virtual host setting on local or intranet environment?

I have the following httpd configuration to allow subdomains and to redirect www url to non-www url: ServerName example.com:80 NameVirtualHost *:80 <VirtualHost *:80> ServerName example.com ...
0
votes
2answers
96 views

Virtual Host vs rewrite for subdomain

Is there a best practice (for performance reasons or otherwise) for choosing between using a Virtual Host or rewrite for pointing a subdomain to a folder in the root directory? I.e., www.domain.com ...
0
votes
1answer
361 views

Setup Subdomain Apach2 Ubuntu 10.04. Virtual Host not in use currently

I have a ubuntu 10.04 server that is currently setup only to run a single website. I would like to setup a subdomain to point to specific section of this website. For example, I want test.example.com ...
2
votes
1answer
94 views

Apache issue with VirtualHosts

I am setting up a small website in-place on the production server. While we are finalizing all the settings for the final domain we've located it on dev.domain.com, so that our visitors don't see a ...
0
votes
2answers
385 views

what is the correct config for ubuntu apache2 virtualhost on port different from 80

i've just inherited a server ubuntu 10.04 running already tomcat on port 80.so apache 2 /etc/apache2/ports.conf has Listen 8858. i pointed my subdomain let's say admin.domain.com to the ip of that ...
1
vote
1answer
168 views

Apache: how to create subdomain on name-based virtualhost? [closed]

i have name-based hosting, lets name it my.address.com - my friend have 'white' ip -address.com and gave me virtual machine than i can access via ssh, also, he made some magic with ports and now after ...
0
votes
2answers
75 views

Subdomain returns error when restarting Apache

I try to install a subdomain on my dedicated server. I made a new DNS rules to point my sub domain to the IP of my serv. After reading this Subdomain on apache i tried to add new rules on Apache : ...
1
vote
5answers
395 views

Apache Virtual Hosts and subdomains

I'm trying to create a subdomain for a project i'm working on, projectx.cairocubicles.com, this url points to another server than the one hosting www.cairocubicles.com. The server the subdomain is ...
0
votes
1answer
469 views

virtual host setup: can't access wordpress site without www

I would like to access my site both with and without using the www. Currently it only works with. Leaving out the www just goes to a blank page. Also, wp-admin just loads a blank page too. I have set ...
0
votes
1answer
230 views

staging and production on same server with domain wildcards

I have a virtual host configured to run a Ruby on Rails app on Apache and Passenger this way: <VirtualHost *:80> ServerAdmin account@gmail.com ServerName staging.domain.co ServerAlias ...
0
votes
2answers
69 views

Confusion about VHost and DNS Entry regarding Subdomain Configuration (Apache)

On my Vserver Id like to configure a subdomain. So I have the following entries in my apache vhost config. I want to have my site app1.example.com to run as own site, so that pages and files have the ...
2
votes
1answer
708 views

apache2 virtualhosts for # subdomains with rewrite to SSL

I've been having some problems setting up my apache webserver to only serve pages over https. I think I nailed it earlier this week, but after some tinkering it seems like I broke it again and I don't ...
0
votes
2answers
115 views

Setting up a subdomain which points to another IP (Apache2)

I'm using Apache, and I'm trying to set up a subdomain for a virtual host, which then points to a server on a different IP address. So the virtual host is www.example.com, I'd like to set up ...
0
votes
2answers
1k views

Use regular expression in definition of virtualhost

I have to define about 100 subdomain virtualhost entries in server config file . I want to know if there is any way to do it with regular expression to increase codes in apache config file?
3
votes
1answer
280 views

Common subdomain for several virtual domains in Apache2

I'm running a web server with Apache2 and several virtual domains. Also, there's a mail server for these domains, exposing a web interface. For each virtual domain example.com, I have the subdomain ...
1
vote
1answer
198 views

Pointing Sub domain of one website to sub folder of another website

I have a domain example.com pointing to Linux AWS. I also have demo.example.com which i need to point to /htdocs/c5 of example2.com on Windows Server running XAMPP. My Findings Used A record of ...
0
votes
2answers
290 views

Diagnosing subdomain “server not found”: Where to start?

I'm having a strange problem. I'll be quick about the setup: DNS Following are A-records pointing to the same IP: www.domain.com domain.com login.domain.com dev.domain.com I have tried using ...
1
vote
1answer
227 views

Website integration: Frame, redirect or virtual domain?

I'm overwhelmed by the many choices one has in website design. I'm probalbly asking something really easy to set up, but since I don't have any experience, I'm looking for help. Current Setup I've ...
2
votes
2answers
677 views

Setting up sub-domains with 123-reg.co.uk

Firstly I'm not sure if this was the right site to post this question, but it seemed more appropriate that using stack-overflow because its Web/DNS based. I'm having a bit of trouble setting up a ...
0
votes
0answers
159 views

Adding “Virtualhosts” to nginx

I'm creating a system where users have their own website on my server with a custom domain, upon an input they desire, e.g. {username}.domain.biz On one condition, the main domain is domain.org, ...
0
votes
2answers
207 views

Can't figure out how to create subdomains on Apache?

I have mod_vhost_alias enabled. My GoDaddy DNS A-Record Host='*' points to my server. In /etc/apache2/sites-available/000-default I have <VirtualHost *:80> UseCanonicalName Off ...
0
votes
1answer
144 views

Virtualhost in Apache (wildcard and static domain)

I have some odd situation. I wan to make different DirectoryRoot for one domain. example.com -> /dir1 www.example.com -> /dir1 *.example.com -> /dir2 I'm trying settings with NameVirtualHost and ...
0
votes
4answers
222 views

Dealing with development subdomains

I have a virtualhost that is forwarding to my main domain (e.g. showing the same content that my main domain shows). Right now my site uses a main domain: www.example.com And various alias ...
0
votes
2answers
75 views

Apache2 URL route to directory

I would like apache to send 10.23.45.67/subdomain to /var/www/subdomain What is the easiest way to do this?
0
votes
1answer
404 views

Apache2, Bind9, virtualhosts, subdomains and domain email

i'm running an ubuntu vps which hosts at least 2 different sites/domains via apache2's virtualhost, and they've been working fine for months. now i'm wondering about setting up some subdomains, and ...