-2
votes
2answers
57 views

How to setup dns to redirect app.example.com to another ip? [closed]

I have a site www.example.com running on a hosting company. Now I want to create a separate web app on my VPS and let it accessible via app.example.com How can I set the DNS to redirect ...
0
votes
2answers
49 views

Can I direct users to a virtual host on a server by the server's main IP address when their DNS fails to resolve the hostname?

Problem: Some individuals' ISPs occasionally can't resolve one of my virtual hosts on a LAMP installation. Ubuntu 10.04 LTS, Apache 2. I'm looking for hack that can do it by IP. Background: On this ...
0
votes
1answer
21 views

Is VirtualHost Entry Required for CNAME Pointing to Same DocumentRoot?

www.example.com. 1800 IN CNAME example.com. other.example.com. 1800 IN CNAME example.com. Which method is correct in Apache when all entries point to the exact same ...
2
votes
1answer
55 views

Multiple Virtual Host isn't working in apache

I was configuring a VPS with Apache2, MySQL, PHP. The Main site is working fine. Then i went to create a webmail with a Subdomain. Whenever someone browse webmail.mydomain.com he or she should have ...
0
votes
1answer
86 views

Apache2 Default overrides virtual host

I have an Ubuntu 12.10 LTS server running apache2 with a simple wordpress install. I created the virtual host in /etc/apache2/sites-available and used a2ensite to enable it. All was working fine for ...
2
votes
2answers
142 views

How do I “test” name-based virtual hosting?

Our website mysite.com is going to be hosted at a server with virtual hosting (name-based) at 10.20.30.40. However, the DNS records are currently pointing to 66.77.88.99. I want to keep those DNS ...
0
votes
3answers
81 views

How to access web page on a server using the IP 10.0.0.3?

I have three internal servers that will never have any connection to the internet. I've had to build a local yum repo to set them up with tools like bugzilla and the like. However, all three are ...
-1
votes
1answer
95 views

How exactly do I connect my domain to my apache2 VPS?

I followed a tutorial last night on how to create a virtual host on Apache and later connected my domain to it using DNS A records. Someone today, I can't even connect to the domain as it says in ...
0
votes
1answer
65 views

Testing website in new server before switching DNS not working

I have hosted several websites in an old server, now I want to move them to new server. Before switching DNS I want to test whether everything works fine in new server. For this, I copied all the ...
-3
votes
1answer
28 views

How to point same domain to individual applications in Apache [closed]

I've two applications in my webroot, /var/www/mysite /var/www/blog I want to access mysite application as http://mysite.com and similarly blog applications as http://mysite.com/blog . I'm trying ...
0
votes
2answers
207 views

Apache virtualhost strange behaviour

I have multiple domains linked via A-Record to my server. For all of them I created a virtualhost. Some of them run with and without of www. Some have additional subdomains and some have wildcard ...
0
votes
1answer
180 views

CNAME without altering Apache

I have an Amazon ec2 instance with a static public IP and a public domain name assigned by Amazon (ec2-my-hosts-public-ip.compute-1.amazonaws.com. Let's call it ec2.amazon.com). I have a domain name, ...
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 ...
2
votes
2answers
424 views

Cannot Access Virtual Host Via Apache On Localhost

I'm beginning to pull out my hair. Using Redhat/Apache we've three virtual hosts set up to serve three Drupal based domains and a fourth virtual host set up to serve Redmine via passenger all from ...
0
votes
2answers
536 views

Using Route 53 with EC2 Public DNS and Virtual Hosts

I would like subdomains of my EC2 Instance Public URL to point to different document trees in on my machine so foo.ec2-012-345-678-901.eu-west-1.compute.amazonaws.com has a separate DocumentRoot to ...
4
votes
2answers
226 views

How does a domain beginning with www.uk get resolved?

I have seen domains such as www.uk.domain.mobi. Is there no restriction in terms of what is allowed after www? Can I call a subdomain anything I like and is there no dot-separated word limit?
0
votes
1answer
275 views

Issue with CNAME and Virtual Hosts

I'm using Apache and I have a CNAME DNS record for sub2.sub1.domain1.com that points to sub1.domain1.com And I have an A DNS record for sub1.domain1.com that points to the IP. Then in my ...
0
votes
1answer
124 views

Creating subdomain results in DNS error

I currently have a site: 'www.mydomain.com' and want to create a subdomain called 'test.mydomain.com'. I did the following steps below, but am encountering 2 errors: 1) When I go to ...
1
vote
2answers
80 views

Apache Virtualhost entry with Windows hostname

I have a Windows Domain Controller and we use it for DNS for our internal network. I have an Ubuntu box with an IP address of 172.16.34.149. Within the Windows DNS I created the forward and reverse ...
0
votes
2answers
141 views

Virtual Hosts on a windows machine in local network [closed]

I am running an Apache 2.2.21 on Win7 x64, using sucessfully a row of different virtual hosts local.projectOne local.projectTwo ... So far this was fine, using the hosts file to map'em all to ...
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 ...
0
votes
2answers
201 views

set up linode without a domain name

I read somewhere that a linode can be set up without a domain pointing to it, but I was unsure of how to tackle that. I noticed in the getting started guide it has an entry about updating your ...
0
votes
1answer
99 views

Apache2 on Ubuntu server - Windows Domain

Hi this is probably a stupid question....but here it goes I have an Ubuntu server (hostname: intranet) with apache2 running with virtual hosts. Lets call them "website1.intranet" and ...
1
vote
1answer
912 views

Can't setup virtual host (apache/bind/webmin) to work with domain (ubuntu 10.04 LAMP)

I'm trying to set up a fresh Ubuntu 10.04 as my web server but I'm having no joy at all - I can't access the domain via a browser (it times out) and I get no ping response except when I ping from the ...
0
votes
1answer
80 views

Can't make virtual host working

I have to create a virtual host on a server which, previously hosted a single website (domain name). Now I'm trying to add a second domain on this server (using the same nameserver). What I've done so ...
1
vote
2answers
158 views

Setting up a server with only subdomains, any connection to top level goes to main server on another IP?

I'm developing a web app where users will have their own sub-domain to login to and use the application. I'm running wordpress for the main website to manage the public / front end. Our application is ...
0
votes
2answers
292 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 ...
2
votes
2answers
678 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
1answer
117 views

A record with zerigo DNS

I host my domain in Zerigo's DNS service, the domains A-record points to EC2 instance. I guess I dont need bind in EC2 server, just handle domains with apache virtualhost, this is right? Can I handle ...
1
vote
2answers
129 views

Apache VirtualHost - Make subdomain go to same place

I have a domain like 0.ape.stream.local The 0 increments up to an infinite number. How do I go about making any number (*.ape.stream.local) go to same place?
1
vote
3answers
255 views

/etc/hosts entry for single IP server serving multiple domains

Running Ubuntu 10.04 My server serves 3 different domains using named virtual hosts in Apache2. I'm current using different Named Virtual Servers to 301 redirect www to the non-www equivalent. It's ...
0
votes
1answer
181 views

How to setup 2 URLs pointing to same location in Apache for Rails

I want to point 2 URLs to the same rails app. Seems like it would be easy but it's not working! The existing setup looks like this: <VirtualHost *:80> DocumentRoot /home/some/path ...
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
1answer
45 views

Apache VirtualHosts--beginner question

When I'm setting up VirtualHosts (this is my first time doing this) on my Rackspace cloud does the URL in my browser have to be the name for it to work correctly? What I mean is, if I set my local ...
1
vote
2answers
197 views

Apache Virtual Hosts with a Wildcard DNS Record

Here is my current setup: At the bottom of httpd.conf I have the following: NameVirtualHost *:80 Include /etc/httpd/conf/vhosts/* Inside of /etc/httpd/conf/vhosts I have the following files: ...
8
votes
2answers
364 views

Is there a way to access a specific server with the hostname in a round-robin setup?

I have a cluster of Apache webservers using round-robin for primitive load balancing. Is there a way to have firefox or chrome request that server name from a specific IP? If you just enter the ...
0
votes
1answer
299 views

Apache leads to /var/www on virtual host

I've set up tens of sites before, I've been following the same process as always, but for some reason whenever i visit www.mysite.com, the apache server loads /var/www (the default virtual host) ...
0
votes
1answer
44 views

How can I have an Apache server at a single IP which serves different content to requests for different domain names?

I've seen this in the wild before: an Apache server that serves different sites to requests for different domain names, like so: 123.123.123.123 ^ domainA.com ^ domainB.com ^ domainC.com ...
0
votes
2answers
540 views

Apache subdomain not working: uses real domain

Let's say I have domain.com and sub.domain.com. Domain.com's root should be /var/www/domain_com/ and sub.domain.com's root should be /var/www/domain_com/sub/. ...
2
votes
2answers
664 views

Alternative to HOSTS file for virtual hosts?

I am running Windows 7, Apache 2.28 is my version of Apache, localhost and virtual hosts run well. Only one issue - what's the best alternative to using the HOSTS file? I tried DNSKong, but not sure ...
0
votes
2answers
285 views

Virtual Host all show same content

I have a domain I call Homenet.com and have two subdomains: wiki.homenet.com and intranet.homenet.com. For some reason, no matter what I type in it always shows content from intranet.homenet.com. My ...
0
votes
2answers
291 views

Creating an Apache Virtual Directory, but updating Active Directory DNS

I'm just getting started with using the Zend Framework and am following a recommended procedure where I am supposed to create an Apache Virtual Directory for the public-facing portion of a new Zend ...
2
votes
2answers
2k views

How to configure cookieless virtual host in Apache2?

We run over a hundred web applications (growing daily) on a LAMP stack using Apache2 on Ubuntu 10.04. We've would like all requests to static content to be cookieless. We host applications on many ...
0
votes
1answer
210 views

Why can't my domain be resolved when I self host the master dns server and use zerigo&xname for a secondary?

Ok so here's the setup: I have pdns w/mysql backend set as a master only. the internal net includes the dns server address so things do resolve there. But externally the domains do no get resolved at ...
4
votes
1answer
1k views

using wildcards in host-aliases for Tomcat's virtual hosts

I want to do the following with Tomcat 5.5: *.mydomain.com should go to my webapp, located at the virtual host mydomain.com. So I have a virtual host mydomain.com, and I want all *.mydomain.com also ...
1
vote
2answers
188 views

how to? 1 domain name, 1 ISP Static IP, 1 router, 3 physical web Servers

I have 1 Static IP from my ISP, 58.59.60.61 I have 3 local physical web servers: Win2008 IIS 7, local IP 192.168.10.11, mydomain.com Ubuntu Apache2, local IP 192.168.10.12, subdomain1.mydomain.com ...
0
votes
1answer
154 views

Virtual hosting all resolving to the same files

I'm trying to set up virtual hosts on my VPS (centos). I set both domain nameservers to fns1.dnspark.net and fns2.dnspark.net and set an A record there for each domain pointing to my IP address ...
0
votes
2answers
363 views

Question on DNS Resolving, Multiple Virtual Hosts, Virtualization and DHCP

Preface: there are several virtual machine instances (one of KVM/XEN/OpenVZ/VirtualBox) each virtual machine instance can hold several virtual hosts (e.g. static.machine0, streaming.vmachine0, ...
2
votes
1answer
2k views

Can I assign a subdomain to an IP-Address?

I am currently in the Process of moving from one server to another. And I am currently setting up my apache2. However on the old server I used several subdomains. Now i wanted to test these subdomains ...