Questions tagged [virtual-host]
171 questions
29
votes
1 answer
How to create subdomains on a name-based virtualhost?
I have name-based hosting, lets call it my.address.com. My friend has the 'plain' address address.com and gave me a virtual machine that I can access via SSH.
He also made some magic with ports and now, after installing Apache, I could access…
scythargon
- 836
19
votes
5 answers
How to go to a website on a shared server by its ip address?
I have a few questions, please help:
Fist, I can access Google search just by typing http://74.125.224.211, because this is the IP address returned by nslookup.
However, I could not do so with the IP addresses returned from www.yahoo.com. How do I…
user1502776
- 553
13
votes
3 answers
Default handling for unmatched domains/subdomains in Apache
I have an Apache2 configuration with multiple VirtualHosts. My DNS is set to accept *.. on multiple domains. Everything is working correctly but if I go to something-random-here.example.com I seem to get an invalid VirtualHost being…
Mr Fox
- 652
9
votes
2 answers
Browsing website hosted in the virtual machine from host machine's browser
I have installed Oracle VM Box and created a Virtual machine. Now I have hosted(in IIS) a website in the virtual machine. I want this website to be browsed in the host machine's browser.
Can anybody let me know the settings needs to be configured.
suryakiran
- 195
8
votes
2 answers
How do I create a virtual host that works with both http and https?
This is how I have set up a virtual host:
Options +FollowSymlinks
AllowOverride All
Order Allow,Deny
Allow from all
DocumentRoot…
Baha
- 677
6
votes
3 answers
Apache VirtualHost isn't serving a page
I have a domain name that is linked to my ip address at home. However, I want to use the same server/ip to show more than one website.
I can't get Virtual Hosts to work though.
My conf.d/virtual.conf is:
NameVirtualHost 192.168.10.151:80
My…
Malfist
- 3,119
6
votes
3 answers
Firefox on Ubuntu can't connect to local virtualhost when network is unplugged
I'm using Firefox (3.6.17) on my Ubuntu Lucid (rel. 10.04) and noticed that if the network cable is plugged everything is fine and I'm able to browse my local virtualhost configured in Apache2.
But if I unplug the network, the local vhost is no…
Carlo
- 63
4
votes
1 answer
VirtualHost not working in Microsoft Edge
I am using Virtual host and its working fine in all browser i am able to access it from all browsers but in windows 10 Microsoft Edge its not working. Its only opening localhost not any other virtual host that i have defined
My Windows Host file…
Skyyy
- 385
4
votes
2 answers
How can I run JIRA on Windows via a subdomain?
I am looking around the JIRA documentation but I cannot find any information on this, but perhaps I'm not searching for the right terms :(
I've heard something about the concept of VirtualHosts in the Confluence documentation but I don't really know…
GONeale
- 317
4
votes
1 answer
Apache Virtual Hosts on Mac OS X Lion
In /etc/apache2/extra/httpd-vhosts.conf, I have:
NameVirtualHost *:80
ServerName localhost
DocumentRoot "/Library/WebServer/Documents"
ServerName site1.local
DocumentRoot…
Bullines
- 173
4
votes
2 answers
Apache2 2.2.14 setup with multiple virtual hosts for local testing
I have setup an Apache 2 virtual host by this method.
under /etc/apache2/sites-available I've create a dummy_site_1.conf
dummy_site_1.conf
ServerName local.dummy_site_1
ServerAdmin webmaster@localhost
…
Phill Pafford
- 245
3
votes
1 answer
Compromised DigitalOcean Droplet, doing DDoS attack, what is correct process to investigate cause?
I was informed by DigitalOcean today that my Droplet on there has been disconnected because it was doing a DDoS attack.
They've asked me to investigate and find out what was causing it.
This was Ubuntu 14, and I had 6 Apache VirtualHosts on there.…
3
votes
1 answer
Access mac virtual host from a virtual machine
Here's my setup:
I'm developing a website on a mac. I created a virtual host, so I can open up my browser, type http://cpp and it will point to the right directory.
I want to test this website out in IE. So I fired up Windows 7 in a vm (Virtual…
jshawl
- 339
3
votes
1 answer
httpd on CentOS resolving only the first VirtualHost
I just got a new cloud server and while setting it up, I can access the web root by pointing my browser to the IP address of my server, but the domain names are still propagating so when I go to them, they do not resolve.
When I do point my browser…
Jared
- 217
- 3
- 8
3
votes
1 answer
Apache2 Virtual Hosts not recognizing properly
I have two virtual hosts, but apache seems to be defaulting to one of them.
Here is host #1:
ServerName goiclub.com
ServerAlias www.goiclub.com *.goiclub.com
ServerAdmin webmaster@localhost
…
Casey Flynn
- 233