Apache :: Converting Config From IP Based To Name Based Virtual Hosts
Feb 26, 2015
I have a task of converting a current Win Server based apache server from multiple IP based virtual hosts to a full name based virtual hosting.I'm famiilar with the steps but I was wondering if there are any gotchas in Windows that I should be aware of. It seems that now matter what I change in the new config it doesn't work or work as expected.
View 1 Replies
ADVERTISEMENT
Nov 26, 2008
I'm aware that millions of websites using shared hosting are configured with name based virtual hosting.
I'm just wondering now how name based vhosts could be a disadvantage for hosting our websites?
Currently we have a static IP address for each website, apache configured with vhosts for each of these IP Addresses.
I was thinking about re-configuring to name based vhosts, use up less IP Addresses and only have one or two for domains to point to per server.
Is there anything I should know about name based vhosts?
Currently I know of the following issues:
- I can't setup SSL (I don't think?) without a unique IP, but this doesn't matter to me.
- Apache may be making DNS lookups?
This post may seem a bit silly overall, I doubt there is anything important to note about name based vhosts, but just wanted to know if anyone knew something I should know.
Our current ip based vhost setup works, but it would be nice to drop usage on all of those IP Addresses and we have no need for IP address access from browsers and whatnot.
View 4 Replies
View Related
Jul 11, 2008
Just discovered Apache log: ssl_engine_log
As far as I can tell, SSL is working perfectly on my server. Though I am wondering why I am getting errors logged? By the looks of it, I've been getting them every day since I opened my server.
Here's a few:
[30/Jun/2008 04:30:46 04877] [warn] Init: (host.mywebsite.com:443) You configured HTTP(80) on the standard HTTPS(443) po$
[30/Jun/2008 04:30:46 04877] [warn] Init: SSL server IP/port conflict: mywebsite.com:443 (/usr/local/apache/conf/httpd.c$
[30/Jun/2008 04:30:46 04877] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!!
[30/Jun/2008 04:54:05 04877] [warn] Init: (host.mywebsite.com:443) RSA server certificate is a CA certificate (BasicCons$
[30/Jun/2008 04:54:05 04877] [warn] Init: (mywebsite.com:443) RSA server certificate CommonName (CN) `www.mywebsite.c$
[30/Jun/2008 04:54:05 04877] [warn] Init: (host.mywebsite.com:443) You configured HTTP(80) on the standard HTTPS(443) po$
[30/Jun/2008 04:54:05 04877] [warn] Init: SSL server IP/port conflict: mywebsite.com:443 (/usr/local/apache/conf/httpd.c$
[30/Jun/2008 04:54:05 04877] [warn] Init: You should not use name-based virtual hosts in conjunction with SSL!
View 5 Replies
View Related
Jul 31, 2007
I have set up IP-Based Virtual Hosts, as I have been requested to set it up for SSL.
I have successfully set up all redirects and routes using the IFCONFIG and ROUTE.
My query is this, I have noticed that each HTTP request actually has to come in through the Virtual IP address (which is assigned to each site) from outside. Else it just displays the default host. Does this mean I have to have a separate phone line and router for each web-site I wish to host?
I am using Apache on Fedora Core 6.
View 4 Replies
View Related
Sep 25, 2009
Just a general question here but does it put you off signing up with a host if their HQ's are not based in the US or UK?
For example, would you always choose a host based in the US or UK over a host based in India, China or the Phillippines (i.e. English not being their first language as per communication with techs/sales staff)?
View 5 Replies
View Related
Feb 7, 2008
i suppose this type of post is common in this forum so i hate to do it but i do need come advice.
I hava a shared host but i need to move to a dedicated host. I'm having real problems finding a host that i think i can trust.....i was considering going with 123 reg....the price is about right....£40 monthly and they're in the uk so support should be easier............then i read loads of bad things about them an decided against it.
I need a dedicated host ( linux) for about £40 a month based in the uk....can anyone reccomend anyone reliable with good support....cpanel would also be good......and do they all have setup fees like 123 reg?
View 12 Replies
View Related
Nov 3, 2009
What are the largest hosts based out of Florida?
View 12 Replies
View Related
Sep 25, 2008
I am looking for Xen VPS servers hosted High end equipment
Ie RAID 10 / SAN with good support willing to pay upto 70 USD per month.
I don't need them to be managed, just very reliable with excellent and reactive support. I have looked on the forums and cannot find any that suit my needs.
View 6 Replies
View Related
May 23, 2009
i have xampp i followed this redivide.com/blog/setting-up-a-name-based-virtual-host-vhost/
when im on the computer that xampp runs on it works fine both domains go to their proper directory ones c://xampp/htdocs/fa and the others c://xampp/htdocs/wsd but when i try it on another computer both domains go to the default folder which is c://xampp/htdocs
View 3 Replies
View Related
Sep 24, 2008
I've started looking into KVM to possibly to run alongside or even to end up replacing our current Xen infrastructure. The fact that it's built into the mainstream linux kernel is very appealing.
Are there any Control panels/basic frontends for this at the moment to allow users to Reboot/Reimage their VM's? At the moment its looking as though we would need something inhouse or custom developed
View 1 Replies
View Related
Oct 30, 2007
have a number of vps servers with USA based VPS hosts, very happy with these companies but as they are USA based load time could be improved with AU based server. Also search engine considerations as well fictate we need to offer AU based hsoting. So now looking to setup future accounts a little closer to home with australian based vps hosting
Does anyone know of a really good, fast, reliable affordable vps host offering cpanel/whm vps hosting in a top notch australian data centre.
hoping to pay arounf $100 per month, with room to grow when we have more clients on the server...
This is the average package we are on with us based hosts so looking for something as close as possible to this...
$89 Monthly
$0 Setup
2 GB Burst RAM
512 MB Guaranteed RAM
20 GB Storage
500 GB Monthly Transfer
4 IP Addresses
Unlimited Domains
Unlimited User Accounts
Cpanel/WHM
Minimum Server Specs
Dual Xeon 3 GHz or Better
8 GB Registered ECC RAM
U320 SCSI HD in Hardware RAID 10
Zero Downtime During Drive Failure
Hot-Swap Drives and Fans
Replaceable on the Fly
Dual Gigabit Network Interfaces
If anyone can point me in the direction of some reputable companies id be very happy!
Yes i have searched the forum but cant really find mention of good australian based vps hosts.
View 7 Replies
View Related
May 7, 2013
I am using apache with subversion and need to redirect a request for a file to a different file based on the user that has made the request. It appears that the URL for the requested file could be changed on the fly using RewriteMap; however, is there any way to get the User (as typically given in the request_rec available to apache hooks) making the request in the program used?
View 2 Replies
View Related
Aug 11, 2013
I am running Apache2.2, PHP5.I have been running with virtual hosts on a Windows 7 environment fine for a couple of years successfully, but have just had to move to a Windows 8 environment.It looks like Apache and PHP have installed and are working fine, but my Virtual hosts are now not being recognised. From what I can tell, it is the Windows 8 hosts file that is having a problem, as it looks as though it is now just setup to Block websites.
If I make the host file just have the one line127.0.0.1 localhost entry, then the very first Virtual Host from my apache config file will come up, but the rest are not found.If I put the usual 127.0.0.1 mywebsite.name aliasname is appears as though my website works momentarily and then is blocked..
View 7 Replies
View Related
Aug 26, 2014
Basically I would like to record only certain status code entries in my access log. For example I would like to skip all entries with 200 status.
The documentation under "Modifiers" [URL] .... works somewhat but it still makes an entry in the AccessLog file.
This line in httpd.conf
View 9 Replies
View Related
Oct 13, 2007
I just have a question about an Apache 2.0 error. I am running a web host and I am using VHCS for my web hosting control panel which creates virtual hosts in Apache's config files. Whenever I have a certain number of virtual hosts (200 or more roughly) Apache will start giving me problems with no messages about what went wrong. Some examples of what Apache does is that it will crash when I run "apache2ctl restart" or it just won't run when I start it sometimes. It really annoys me since I'm wondering if it's an Apache memory issue. Any ideas on what to do or how to solve this dilemma?
View 2 Replies
View Related
Nov 15, 2008
i bought some webspace and i have uploaded mywebsite.I need to configure my domain atomuss.com to have virtual hosts.How is that done?.I have tried contacting my webmaster and it seems he is making himself unavailable everytime i speak want a word with him.
Anybody..
View 5 Replies
View Related
Jan 12, 2013
I have a little trouble with my Apache configurations. I have two computers with Ubuntu and Apache 2.2 - let's call them Home (192.168.1.2) and Server (192.168.1.3) connected with a router. I am working on Home, connecting to Server via ssh and mounting the web root directory of Server to Home via sshfs -> Server's /var/www becomes Home's /home/username/www. The problem is I can't really setup my Apache virtual hosts. I have a project in Server's /var/www/project, respectively Home's /home/username/www/project, and I want to create a virtual host on Home that lets me view the remote contents.
This is what I am adding to Home's /etc/hosts: 192.168.1.3 project
This is what I am adding to Home's /etc/apache2/sites-available/project:
<VirtualHost 192.168.1.3:80>
DocumentRoot /home/username/www/project
ServerName project
</VirtualHost>
After all this, when I open http://project/ in Home's browser, I just see the default apache page of Server (the one in /var/www).
View 1 Replies
View Related
Oct 12, 2013
I am messing with Apache at home and have managed to create virtual hosts with no problems, my next step was to produce a self signed SSL cert. which again has worked but it's redirecting my non-SSL virtual host to the host I have set-up for SSL for example:
- www.mysite1.com set-up with SSL and works as designed both http and https
- www.mysite2.com I don't want using SSL is working fine through http but if you try https it will then redirect to www.mysite1.com
View 1 Replies
View Related
Mar 30, 2007
I have been tearing my hair out over this, I have a small problem, I am trying to set up multiple virtual hosts using ssl on port 443. I have followed instructions and set up IP based hosts with my single network card having two different IP's. but the problem is that the second IP is not recieving any requests from the router as it is using the certificate from the first host and diverting to the result of the first sites authentication process.
any one know how I can do this, the first router forwards all requests to the second more secure router which then forwards to the server which is working fine. I need to get this to work and don't know how. both routers support NAT and ther servers first IP address has been assigned a NAT IP.
I can't include the conf file as the board won't let me until I have posted 5 times....but if you need it I can email it or something
the virtual hosts on port 80 are name based....does this matter?
View 0 Replies
View Related
Jun 24, 2013
Ok so I just installed apache 2.2 on windows server 2008.
I would like to set it up so if I go to 99.144.79.25(Server IP) I get index1.html. If I go to example.com which points to 99.144.79.25 I get index2.html. If I go to example3.com which points to 99.144.79.25 I get index3.html.
So kind of like, if the domain folder is not found on my server, give the page index1.html.
In the long run I want to run a bunch of sites with different domains, testing right now though.Â
View 1 Replies
View Related
Jun 5, 2014
I have my Apache 2.4.9 for Windows with multiple Virtual Hosts, the main one is configure like this:
Code:
NameVirtualHost vhost1.domain.org:80
<VirtualHost vhost1.domain.org:80>
ServerName vhost1.domain.org
DocumentRoot "C:/Apache24/htdocs"
ServerAdmin techsupport@domain.org
# ErrorLog "logs/vhost1.domain.org-error.log"
# CustomLog "logs/vhost1.domain.org-access.log" common
</VirtualHost>
The rest like this:
Code:
NameVirtualHost vhost2.domain.org:80
<VirtualHost vhost2.domain.org:80>
ServerName vhost2.domain.org
DocumentRoot "C:/Apache24/htdocs/vhost2"
ServerAdmin techsupport@domain.org
# ErrorLog "logs/vhost2.domain.org-error.log"
# CustomLog "logs/vhost2.domain.org-access.log" common
</VirtualHost>
There is no *:80 anywhere and still when I go to any vhost it always load the main one.
What else do I need to check?
View 19 Replies
View Related
Oct 7, 2014
I am trying to configure Apache 2.2 on Linux Mint 17 ( derived from Ubuntu 14 LTS).
I am wanting to create a variety of localhost sites all for development. One of those is built on Laravel 4. I have followed every tutorial I can find yet, for some reason which I do not understand ALL my sites route back to the Laravel root document when called from the browser. Just don't get it.
Here is my hosts file:
Code:
127.0.0.1 localhost
127.0.1.1 vince-XPS-8300
127.0.0.1 auburntree
127.0.0.1 example
Here is the Laravel conf file:
Code:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin mail@shaw.ca
ServerName auburntree
DocumentRoot /var/www/auburntree/public
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Here is the alternative "example" conf file with just "hello world" in it.
Code:
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin mail@shaw.ca
ServerName example
DocumentRoot /var/www/example/test.html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
Both conf files have been enabled.
View 3 Replies
View Related
Feb 20, 2015
I just installed a new server and I would like to transfer all virtual-hosts on new Apache installation.
I updated all IP addresses in each .config file and simply uploaded the edited conf files into new /etc/apache2/sites-available folder. I rebooted Apache, but through Webmin I can not see them on Existing virtual hosts list. Why? Do I need to manually re-add all the 30 sites?
View 1 Replies
View Related
Sep 13, 2014
I am having to restart https after a reboot in order to get the virtual hosts working.
If I DON'T restart https, all I get is the system default page and NOT the individual vhost index pages.
View 4 Replies
View Related
Aug 10, 2008
Can anyone of you guys recommend a web based FTP that will allow me to upload folders ---instead of single files.
For the people using it, File Vista was the most logical choice. I was playing around with their demo, but it does not do folder uploads.
Does such a beast exist?
View 5 Replies
View Related
Jan 4, 2009
I'm looking for a cheap VPS with the following requirements:
- Based in the EU
- Unlimited monthly bandwidth
- Price under 50 EUR / month, the cheaper the better
- At least 20GB space, at least 10 MBit, other specs do not matter
- Linux distro or FreeBSD, SSH access
- Good reliability, doesn't mean i want a 99% uptime guarantee, but something that doesn't have too many problems
Preferred locations are near Austria, but anywhere in the EU is good. Also it is a plus if they have upgrade options to better packages if i need it at a later time.
I liked Kimsufi, however I cannot rent from my country even though I can pay by credit card or paypal. I am based in Slovenia and i can pay by Visa debit or Paypal (Visa preferred).
View 7 Replies
View Related
Apr 15, 2005
Can anyone recommend a decent UK based ASP.NET host?
View 1 Replies
View Related
Apr 22, 2009
We've tried before several times RAM based hosting (where you have all files on RAM disk). Our systems were crashing, but my guess is that we were putting about 100,000 or so files on it and since it was formatted with ext3 (everywhere else we are using XFS) - this was a reason for crashing.
Since we have a lot of bandwdith in our data center, we are thinking about becoming a mirror for CentOS, gOS and some other distributions. I am thinking again about using RAM disk based hosting (you use 1 Gb/s port 100% no problem with it even on CoreDuo level of CPU).
Anybody has any experince, good or bad of running RAM based hosting? I am talking about dedicated, not VPS environment.
View 1 Replies
View Related
Jun 15, 2008
Is there a good one around on the internet?
HyperVM has a nice one.
View 5 Replies
View Related
Jul 7, 2008
As you might know if you read my other thread I'm often looking for VPS servers (at the moment Linux only), based around the world.
This weeks challenge for me is a china/hong kong based VPS, nothing too fancy, its only going to be used for small websites and as a proxy service for when we run ranking reports for our SEO clients.
Requirements
- English support if possible, although we do have some Chinese speakers in house.
- 128mb ram, 2gb disk space, 20gb transfer/mo
- CentOS 5 preferred, but any system with a working Yum or similar will do.
Budget
up to €30 a month, but could go higher if i had to.
Payment
-for various reasons we cannot use paypal at the moment, so even if its just paypal credit card processing they won't let us use it. This is something we are looking to solve but its not my dept so i'm stuck with it.
- We can pay by Visa Credit or Visa Debit cards, and if we really had to, bank transfer, but I'm told transfers to china are sometimes very tricky to get right.
I have had a look through the VPS offers forum but most of the china-related posts are from 2006 or so and so aren't relevant anymore.
View 13 Replies
View Related