Virtual hosting refers to the practice of hosting multiple websites on a single server.
1
vote
2answers
121 views
My virtual server is created but it's not showing anything when I visit the site?
I have created a virtual sever as below for my site:
I've specified the folder and domain name:
And I created a master zone for the domain, and NS1 and NS2 has been set for the domain. everything ...
0
votes
0answers
17 views
Virtual host in Apache Zend
I'd like to ask you if you can tell me why I can't get Vhost in Apache to work my Vhostconf is:
NameVirtualHost *:80
<VirtualHost _default_:80>
ServerAdmin ...
1
vote
1answer
26 views
Automatic redirection from http to https with .htaccess authentication in virtual hosting
Hi I have configured Virtual host on apache with .htaccess authentication with SSL. It's working fine when I typed url https://www.example.com:9004/test.php but when I typed ...
0
votes
2answers
877 views
Apache2: How to host apps at different ports with SSL?
I'm trying to achieve quite simple task actually.
I bind application to a port, I enable SSLEngine at each VirtualHost entry for that port. Everything works beside one thing: if you type url that ...
2
votes
3answers
722 views
Under an Xampp install, I modify the apache httpd-vhosts.conf file and then my Apache server will not start
I have read all the articles but still must be doing something wrong... I modified the httpd-vhosts.conf file to access the project I am working on... I have tried many different configurations and ...
2
votes
1answer
103 views
mod rewrite doesn't work when i added multiple domains
i have redhat linux server and i was using /var/www/html to display my site.
By using the following directive rewrite mod was working fine.
<IfModule mod_rewrite.c>
# Enable mod_rewrite ...
2
votes
1answer
24 views
SetEnv directive not working for localhost VirtualHost but works for other VirtualHost
I have two virtual hosts declared: localhost and test.
Both use the SetEnv directive and point to the same DocumentRoot:
NameVirtualHost *:80
<VirtualHost _default_:80>
DocumentRoot ...
0
votes
1answer
322 views
Trying to Host Server for External Access - Apache, VirtualBox & Portforwarding
Banging my head on the wall at this stage.... trying to host my Apache site on Ubuntu 12.10 with VirtualBox. Running Windows 8 host.
Things I've done:
Ensured Apache is listening on ports 80, 443 ...
1
vote
1answer
333 views
Apache virtual hosts - Resources on website not loaded when accessed from other hostname than localhost
Running virtual hosts on Mac OS X 10.6.8 running Apache 2.2.22.
/etc/hosts is as follows:
127.0.0.1 localhost 3dweergave studio-12.fritz.box
255.255.255.255 broadcasthost
::1 ...
2
votes
4answers
3k views
How do I hide the port in my URL?
What am I missing? If I go to mysite.com:9999 I get my site, but not mysite.com Obviously the users shouldn't need to type in the port, so what do I need to do? I'm not really trying to hide the ...
1
vote
1answer
44 views
Can't Get a Virtual Host to Work
I can't get a specific virtual host to work. This is the first part of my httpd-vhosts.conf file:
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "/Volumes/Data ...
0
votes
1answer
82 views
Apache server not able to read cookies from Browser
I have developed a login authentication page using cookies (with spring security) where for the first time, the user will need to get itself authenticated. Once the user gets successfully ...
2
votes
1answer
111 views
How can I force a VirtualHost in Apache to not listen for undefined subdomains on 443?
In /etc/apache2/sites-available/example.com:
<VirtualHost *:443>
ServerName www.example.com
DocumentRoot /var/www/example.com/htdocs
SSLEngine on
...
2
votes
1answer
38 views
Running my site using https and a load balancer
I currently have two webservers behind a load balancer that are running my websites. I'm considering buying an SSL certificate for one of my websites and converting it to https. What mechanics to I ...
4
votes
1answer
275 views
How to organize /var/www/ for multiple users and vhosts in apache
I've been creating new directories for each site in the var folder like this:
/var/www -- localhost -- owned by localuser:www-data (+setuid/setguid)
/var/www-somesite -- somesite.com, ...
3
votes
1answer
157 views
Apache Virtual Host does not work
I've problems setting up a virtual host on windows7, so that I can develop multiple pages on my localhost.
To set up the virtual Host, I've edited 3 Files:
httpd-vhosts.conf in apache\conf\extra
...
3
votes
2answers
825 views
Apache2 virtual host localhost doesn't render CSS when offline because of absolute path
I'm running apache2 on a local server. I use no-ip.com to route DNS to that server through my cable modem. While disconnected from the web and working on localhost my web pages don't render the CSS ...
2
votes
2answers
127 views
How to Add Two Domains ON 1 IP using webmin
I am a new user of webmin and I have two domains site1.com and site2.net.
I have one dedicated IP for the server and I have set site1.com to use following name servers ns1.site1.com and ns2.site1.com ...
3
votes
2answers
4k views
Redirect Permanent and https
I just set up HTTPS on my server, and I have an issue with redirect permanent.
Example http://domain.com/index.html it redirect me to http://www.domain.comindex.html
The / (tail ending slash) is ...
-4
votes
1answer
91 views
How can set a local host ip address to forward to local host virtual host domain name [closed]
I want to forward different domain names to single IP Address (local for testing), but how can i recognize in pc that which domain name should be linked to which folder?
For example in my windows ...
0
votes
1answer
118 views
Subdomains regarding name servers/domains
I know how to configure subdomains like sub.example.com on Apache etc. My question is, do I need to make any changes to the name servers/domain that is provided to me?
Would it work the same as ...
4
votes
1answer
102 views
Apache Virtual Host different depending on client ip?
What I'm trying to accomplish is:
1. A person, with IP 192.168.1.5 loads my webserver (192.168.1.2) and reaches htdocs/
2. Another person, with ip 192.168.1.6 does the same request, and reaches ...
1
vote
1answer
112 views
Assign subdomains to separate ports on web server
I have set up an Abyss web server as a little experiment, and I want to know if it is possible to assign subdomains to different ports on the machine the web server is running on.
I have a couple web ...
1
vote
1answer
66 views
Apache2 “pseudo” doc root
I have several folders in my /www folder that contain various applications. To keep things organized, I keep them in their own folders -- this includes my base application.
Examples:
phpmyadmin = ...
1
vote
1answer
772 views
Symbolic link not allowed or link target not accessible: /var/www on Ubuntu 11.04
I am getting a 403 when i access http://mayfieldafc.local/ upon looking in the Apache logs I am getting:
[Wed Nov 16 12:32:59 2011] [error] [client 127.0.0.1] Symbolic link not allowed or link target ...
0
votes
2answers
4k views
Virtual host not working in Windows 7 XAMPP
I am using Windows 7 and XAMPP. I want to create a virtual host so I added
127.0.0.1 myawesomeproject
to my hosts file (C:\Windows\System32\drivers\etc\hosts) like this:
# Copyright ...
0
votes
2answers
81 views
How to transfer a website hosted online to my Virtual Host
I'm doing some work on a webpage, meaning I gotta modify a few things. As a result of this I installed apache and all the things that come associated with it, and also installed Joomla, and I got ...
0
votes
1answer
81 views
Name of virtualhost (apache)
I need to create virtualhost with name "virtualhost_name". To access it with http://virtualhost_name
I have a pattern:
<VirtualHost *:80>
ServerAdmin jan@novak.cz
DocumentRoot "path"
...
0
votes
0answers
38 views
How to setup IIS on Windows AIM on a Virtual Port [closed]
I want to host my web server on EC2 at Amazon Web Service. I will use a Windows AIM and IIS7.
I want to config a port (such as: 5555) for my web service and bind it to virtual port 80. so that the ...
2
votes
2answers
135 views
Apache2: Deny access for mail.mydomain.com but allow www.mydomain.com, both points same ip
i have a linux mail+http server located throguh Internet at www.mydomain.com. Domain was bought at GoDaddy so after configuring the server and getting the public ip address i went at GoDaddy's profile ...
2
votes
3answers
186 views
How to remove /index.html
How to make redirect /index.html -> / in Apache?
Redirect /index.html http://domain-name.com/
Is causeing infinite loop when opening home page.
1
vote
1answer
1k views
mod_rewrite with Apache -> mod_jk -> tomcat
Related to some of my earlier questions.
I now have a setup I quite like;
Apache httpd listening on port 80 accepting http and https connections.
Several Tomcat instances running on several AJP ...
1
vote
1answer
214 views
SSL on multiple directories
I have a website that is http, but has a port set up for https for a specific directory that is for the shopping cart. Now I'd like to use our SSL on a different directory in the same site as well. ...
0
votes
2answers
855 views
apache virtual host problem on windows 7 - please explain
This problem has never occurred in the past (i have tried this many times) but this time,
ALL virtual hosts defined in the virtual-hosts.conf file in the apache installation directory direct the ...
1
vote
1answer
10k views
Apache: Virtual Host and .htacess for URL Rewriting not working
I have configured a virtual host in my local machine and every thing is working fine.
Now I want to use SEO friendly urls. To achieve this I have used the .htaccess file.
My virtual host ...
1
vote
1answer
53 views
Forcing adverts via apache configuration file
I have a server I am trying to force adverts for free users. I can do it with a .htaccess file with this line "php_value auto_append_file '/var/www/vhosts/demoblog/demoblog.tk/httpdocs/test_ad.php'" ...
2
votes
1answer
24 views
How should I set the default virtualhost?
I want to run 2 websites.
One for www.example.com, and the other for everything else (www.example2.com, www.example3.com)
How I do it?
I tried:
<virtualhost *:80>
ServerName www.example.com
...
1
vote
1answer
873 views
Webmin - Setting up multiple virtual hosts - Subdomains
Can someone please help me in using WEBMIN to setup virtual hosts.
My current domain www.MYDOMAINLOLFAKE.com currently functions.
Settings are as follows -
Apache -
Handles the name-based server ...
0
votes
1answer
423 views
How to use different php.ini files for different VirtualHosts?
I have my site and it's staging subdomain running on the same CentOS machine running apache. The subdomain is created using a VirtualHost, and I use it to find any bugs before I push to production. I ...
4
votes
1answer
79 views
Unable to view 2 local sites over network
I have 2 websites running on my local machine that I'd like to view from other machines on the same network.
For /etc/apache2/sites-available/site1.com:
<VirtualHost *:80>
ServerName ...
0
votes
0answers
108 views
apache virtual host concept and dns [closed]
I want to have around 60 repositories of projects and I want to serve them from a dedicated remote server(ubuntu) with the help of mercurial server so that all my developers will be able to update ...
1
vote
1answer
3k views
Managing multiple reverse proxies for one virtual host in apache2
I have many reverse proxies defined for my js-host VirtualHost, like so:
/etc/apache2/sites-available/js-host
<VirtualHost *:80>
ServerName js-host.example.com
[...]
ProxyPreserveHost On
...
0
votes
2answers
5k views
MacOSX VirtualHost: “You don't have permission to access / on this server” error [closed]
The Apache installation of MacOSX is running OK.
I have tried to create a VirtualHost called test.local, but as soon as I uncomment from /private/etc/apache2/httpd.conf the line
Include ...
2
votes
1answer
338 views
Virtual Host under MacOSX not working
I have setup a virtualhost for MacOSX Apache installation.
These are my steps:
edit /private/etc/apache2/httpd.conf removing comment from:
Include /private/etc/apache2/extra/httpd-vhosts.conf
...
0
votes
1answer
95 views
Do Apache virtual hosts perform better when listening to different ports?
I plan to use mod_proxy to route requests to Apache virtual hosts based on the URL. example.com/foo/x is routed to foo.example.com/x, example.com/bar/x is routed to bar.example.com/x, etc.
Are there ...
1
vote
1answer
102 views
vhost set up help — domain and ip point to the same site
I have these virtual hosts set up however when I browse to domain.com or 123.45.67.89 they both point to /var/www/html/. How can I get them set up so they point to correct DocumentRoot?
...
0
votes
1answer
218 views
Apache: how to create subdomain on name-based virtualhost?
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 ...
1
vote
1answer
46 views
Prevent virtual host on same server interact on apache [duplicate]
Possible Duplicate:
Prevent virtual host on same server interact on apache
I have a vps apache 2.0 webserver, with multiple domains and multiple IPs set.
In document root /var/www/html/ I ...
2
votes
1answer
64 views
Prevent virtual host on same server interact on apache
I have a VPS running Apache 2.0, with multiple domains and multiple IPs set.
In document root :/var/www/html/ --> i have http:// serverA.com
and I created a virtual host on folder ...
5
votes
2answers
101 views
Are webhosts that require NS instead of a CNAME common?
I've just signed up with a webhost (which I prefer not to name) and I'm reasonably happy with it. The only nit was when I was ready to put a site online and I asked the support line to what name I ...


