CentOS 5 Server :: VirtualHost Only Loads First Host In The List?

Dec 5, 2009

I am a novice with linux but I pick up stuff pretty quick so far I have been able to figure everything else out except this, I have read all the documentation on apache 2 and getting virtual hosts to work and it appears I have everything setup right but yet I still can't get it to work, I have googgled my brains out and I still can not figure out whats going on here is my setup.I have two websites that I am trying to get to load[URL]I have webmin installed and I'm using their utilities to setup virtualhost. heres how it looks in my http config:NameVirtualHost 24.189.245.44:80 ( I have tryed * in place of my external ip)

<VirtualHost *:80>
DocumentRoot /var/www/html/gamerbreed
ServerName gamerbreed.com

[code]....

View 3 Replies


ADVERTISEMENT

CentOS 5 Server :: Httpd Virtualhost Has Error In 5.3?

May 15, 2009

My server running CentOS 5.3. I use yum to install httpd, httpd-devel, php and it's module to run my site.

When I setup VirtualHost, i open httpd.conf and add some directive:

View 3 Replies View Related

CentOS 5 Server :: MySQL Taking Loads Of RAM

Nov 9, 2010

I have a httpd server with mysql and a php application running, but the process mysql eats lots of memory. Here is a printscreen: [URL].

View 5 Replies View Related

Networking :: How To Find Least Busy Host Given Hardcoded Host List?

Oct 12, 2010

I got a bunch of machines (~10) that I share with my co-workers. I have appropriate .ssh file(s) set up so I don't get prompt for password when I try to ssh.Currently I ssh into these hosts and then do a top to check the load before I start using the machine. Because I don't want to be on a busy host.Can someone show me how to write a script that find a least-busy host given a list of hosts to check? (hardcoded is fine)

View 1 Replies View Related

Server :: Of FQDNs - Sendmail - And Apache VirtualHost Server Aliases

Feb 26, 2011

I'm setting up a full server configuration on Fedora, moving it from Mandriva which sadly faces a rather uncertain future. Things are going well and I will be ready (and more familiar with Fedora) in time to upgrade to Fedora 15.

What I have done so far in regard to networking setup:

I first removed Network Manager and replaced it with the network service (chkconfig --level 25 network on). That put an end to the overwriting of /etc/hosts, which now reads simply:

View 2 Replies View Related

Ubuntu Installation :: Change The Order Of The List When Grub Loads ?

May 6, 2010

How do you change the order of the list? I have Xubuntu 9.10 installed on a 5 gig partition. I only use it for Skype as the mic does not work in 10.04 at the moment for me.Anyway, I would like 10.04 to default to the top of the list. How do I change the order when grub loads.

View 4 Replies View Related

Server :: Apache Mod_proxy And Virtualhost ?

Nov 3, 2010

I have figured out how to use virtualhost, proxypass and proxypassreverse. So far, so good.

The problem I'm experiencing is this:

I have a reverse proxy server running apache (123.123.123.123)

Behind this proxy server I have a http server running apache (124.124.124.124).

This http server has multiple sites (virtualhost), it's only reachable via the proxy server.

If i run a nslookup on www.somedomain.com I get 123.123.123.123 (Not really but you understand what I mean)

I put my proxy to have the IP 123.123.123.123, so far so good. The requests come in to the proxy server.

I want my http server to be named 124.124.124.124.

In the http server I wish to set up my virtualhosts like this:

How do I get my proxy to grab the data from the http server?

If I do like this I will only make another request to my proxy server.

If I do like this, only the first page in the httpd.conf in my http server will work.

Do I need to setup a different DNS server for the proxy server? I would hate that. Perhaps use hosts-file in proxy. Or maybe I can use sub-domains?

View 1 Replies View Related

Server :: How To Create VirtualHost In Litespeed

Jun 9, 2011

I need to ask how to add new virtualHost in litespeed.I just installed it.

View 1 Replies View Related

Server :: VirtualHost Overlap Warn In Debian?

Jul 31, 2011

We'll yesterday I got a new server and just installed Linux Debian. The thing is it's been so long (for over 5 years) that was the last time I set up virtualhosts in apache. The thing is I googled around a bit and supposedly my virtualhosts are OK, but I get this WARN when I restart apache2:

[Code]...

View 1 Replies View Related

Server :: Create VirtualHost In Apache Configuration File?

Dec 16, 2010

I created VirtualHost in apache configuration file.

Code:
NameVirtualHost 77.79.13.20:80
<VirtualHost 77.79.13.20:80>
DocumentRoot "/var/www/host"
ServerName host.t2p.lt
</VirtualHost>

[Code]...

View 1 Replies View Related

Server :: APACHE VirtualHost Not Working On Older Slackware Machine

Jan 25, 2010

I am trying to add a virtual host to my machine by name to the IP here.It absolutely refuses to work.it is a mess server I hope to upgrade soon, but it has 2 versions of apache running together on it.The first one (php3) just proxies all the requests from 80 to 8080 which has another instance of apache running php5.I don't know what else to do, it keeps defaulting to the host header error virtual host.

View 1 Replies View Related

CentOS 5 Server :: Connect To Xen Outside Xen Host?

Apr 13, 2009

Trying to get a handle on xen. I have installed Centos 5.3 and I have created one xen guest using default 192 address. I can access this guest no problem from the xen host/server but how do I setup a bridged (I assume) xen guest so it can be connected from any network within my domain, The xm host is network is 10.32.161.0

View 1 Replies View Related

CentOS 5 Server :: Using ISP With DCP - Unknown Host

Mar 24, 2010

I am using comcast ISP with DHCP.

When I type in hostname -f it says unknown host
in /etc/sysconfig/network
hostname=servix.example.com
in /etc/hosts
127.0.0.1 servix.mydomain.com localhost localhost.localdomain
192.168.1.101 example.com www.example.com
in /etc/resolv.conf
search servix.mydomain.com
COMCAST SNS SERVERS
nameserver 192.168.1.1

In linksys router I have host as servix and domain as example.com. So why is it returning unknown host?

View 3 Replies View Related

Ubuntu Servers :: Running Multiple Websites On Single Server - VirtualHost

Aug 25, 2010

I currently am running 10.04.1 and have successfully setup my home web server to run a single website. My current settings are:

-I have registered the domain name annarrankings.com through godaddy
-A record is - host = @ and points to = 71.114.220.3
-CName is - host = www and points to = @
-on my server I have the site running in /var/www

I've done some research and found that to run multiple websites I need to setup VirtualHost.

-So I created a folder /var/www/annarrankings.com and moved my site to that folder

-Edited Apache2.conf to add the following line

-I then went to /etc/apache2/sites-enabled and copied the default file to a new file called annarrankings.com. Here's the annarrankings.com file after I edited it

-I then created a link in /etc/apache2/sites-enabled to the annarrankings.com file in /etc/apache2/sites-available

-Next I editied /etc/hosts

-When i went to enable the site using a2ensite annarrankings.com I got the following

I figured this was ok since I had already created a symbolic link earlier (a result of trying to following multiple tutorials and ..... videos at once) so I reloaded apache2. I created an index.html file in /var/www/ just for testing purposes and when I load www.annarrankings.com I get the file located in /var/www/ instead of the website located in /var/www/annarrankings.com Do I need to change my A record or CName in godaddy or did I just do this completely wrong?

View 8 Replies View Related

Server :: Host Unknown Error:Sendmail / Stat=Host Unknown (Name Server: Def-fgh.com.: Host Not Found)?

Sep 8, 2009

Many of mails sent from my mail server that are in Queue;The main reason is deffered by domains like yahoo,aol,etc.but there is one more error that i keep getting and that is Host Unknown,Below is an example from mail log,The catch is,test mail sent on the same email id sent from my personal mail from the same server i.e. url was deliveredHowever,another mail containing client information sent from customercare@mycompanysdomain ended up in queue.

There are more examples of the same,around 20 domain have the same problem.

Sep 7 14:33:46 server2 sendmail[24591]: n8793jiC024589: to=<abc@xyz.fi>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=163672, relay=xyz.fi., dsn=5.1.2, stat=Host unknown (Name server: xyz.fi.: host not found)

Sep 7 22:09:42 server2 sendmail[6407]: n87Gdffa006403: to=<abc@def-fgh.com>, delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=152474, relay=def-fgh.com., dsn=5.1.2, stat=Host unknown (Name server: def-fgh.com.: host not found)

View 2 Replies View Related

CentOS 5 Server :: Use Xampp To Host Website?

Feb 5, 2009

how to turn my computer on and browse the web. I want to host my website form my computer, only problem i don't now how to do it. It will take some time for me to understand this Os. (For now) My question is Can i use xampp linux to host my website using the security of centos. i now how to use xampp but i don't now how to use centos.? try reading around but i connot event find the yum program use to install softwares.

View 4 Replies View Related

CentOS 5 Server :: Error - Ssh: No Route To Host

May 25, 2010

I installed ntop on our server, after installing it, i ran ntop as a daemon. shortly after we lost the ability to ssh into the server.tried restarting ssh, but it didn't work, so had to restart the entire server.Where should we look to find why ssh suddenly stopped?

the error ssh gave when we try to connect was like: ssh: no route to host what log files should i look at and what should i look for to find the cause of the error?

View 8 Replies View Related

CentOS 5 Server :: Mounting A NFS Share On A VM Host?

Sep 2, 2010

I'm having some trouble mounting an NFS share on a VM host (both CentOS 5.5):

-------------------------
SAN/NAS BOX (NFS Server):
-------------------------
/ filesystem on VolGroup00/LogVol00 = 7.6GB A 20GB filesystem on vg_vm/lv_vm1 is mounted at /srv/vm1 A 100GB filesystem on vg_vm/lv_data1 is mounted at /srv/data1

Output of 'df -h' (extraneous stuff removed):

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
7.6G 1.8G 5.5G 25% /
/dev/mapper/vg_vm-lv_vm1
20G 173M 19G 1% /srv/vm1
/dev/mapper/vg_vm-lv_data1
99G 188M 94G 1% /srv/data1

View 3 Replies View Related

CentOS 5 Networking :: Can't Route Between Server And Other LAN Host

Feb 1, 2011

I'm setting up apache on centOS 5.5 and administering it from another host on my LAN(this web server has no Xorg). I can ping from the config host to the web server but not the other way. My network is quite a way from being set up so i'm just configuring the web server at the moment, the simplest way i can. It's just trying to get two LAN hosts both with 192.168.1.0/24 I.Ps to talk to each other using a router to connect them.

Here are the outputs of ifconfig and netstat -rn for the web server, the config host and the router:

The ifconfig -a and netstat -rn of the config host are:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1

[code]....

View 5 Replies View Related

CentOS 5 Server :: LVM - VDisk Did Not Expand On Host

Jun 13, 2011

I have a P2000 array from HP. What I did try to do was to expand vdisk and corresponding volume. After expanding finished i saw it expanded on management tool for array but it did not expand on host. I tried to rescan devices using pvcsan, rescan-scsi-bus.sh and so on. I tried to restart the host and it did not help neither. It's two node cluster with clustered lvm volume group which is causing the problems.

View 5 Replies View Related

CentOS 5 Server :: Configure The Sendmail Smart Host?

Dec 29, 2009

I have setup CentOS 5.2 with Nagios to monitor my network and have that configuration almost done. I have also setup Sendmail to forward all mail (really only Nagios notifications) out to my Exchange server using define('SMART_HOST', 'exchange.domain') in the sendmail configuration file and it seems to be working correctly.is there a way to configure Sendmail to forward all mail out through my Exchange server as it is now but send mail out to the internet itself if the exchange server is unavailable, somewhat like a failover configuration.

View 1 Replies View Related

CentOS 5 Server :: Name Resolution Of Host Names Using Bind?

Mar 21, 2011

I installed bind & did not install chroot. I set up a fictional domain kelly.local. I am able to resolve FQDN (example: angus.kelly.local) in both dig & nslookup & ping on linux boxes.

I want to be able to resolve bare host names (example: angus) using bind. I get mixed results.

(1) linux boxes resolve bare host names & FQDNs just fine using nslookup & ping, but not dig. dig gives error:

; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_5.3 <<>> angus
;; global options: printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NXDOMAIN, id: 15241

[Code]....

View 1 Replies View Related

CentOS 5 Server :: Cannot Setup Diskless Environment With Host (3.9 Kernel)

Feb 11, 2010

My problem is that I can't setup a diskless environment with CentOS 5.4 (server) and CentOS 3.9 (hosts). On the host, I've recompiled the CentOS 3.9 kernel, with these mods:
- added kernel level IP autoconfiguration;
- added NFS file system support;
- added Root file system on NFS;
- added e1000 driver (the host has a gigabit network card);

Then, I have followed the guide at this link: [URL]
But in my dhcpd.conf I'he put other parameters:
ddns-update-style interim;
allow bootp;
allow booting;

subnet 192.168.195.0 netmask 255.255.255.0 {
range192.168.195.70 192.168.195.90;
option routers192.168.195.254;
option subnet-mask255.255.255.0;
option domain-name"lnf.infn.it";
option domain-name-servers192.168.195.254;
option time-offset-18000; # Eastern Standard Time
default-lease-time21600;
max-lease-time43200;
filename"linux-install/pxelinux.0";
next-server192.168.195.254;
}

host dante79 {
option host-name"dante79";
hardware ethernet00:20:38:01:C3:7C;
fixed-address192.168.195.79;
}

View 8 Replies View Related

CentOS 5 Server :: Configuring Alias Phpmyadmin In Virtual Host?

Nov 10, 2010

i have linux server application based on centos 5 that run httpd daemon from /usr/local/pf/conf/httpd.conf which is generated from the /usr/local/pf/conf/templates/httpd.conf.apache22 file

the problem is every time i run my linux server application i am not able to access phpmyadmin unless i stop my linux server application which is stop it httpd daemon then start "service httpd start"

i have been told by forum moderator to create an alias for my phpmyadmin in Virtual Host but it stil dont work, i am not able access my phpmyadmin site

this is what i have done to solve this problem

- open /usr/local/pf/conf/templates/httpd.conf.apache22 file then look for <VirtualHost *:%%admin_port%%>
- add Alias /phpmyadmin "/usr/share/phpmyadmin" (Failed)
- add Alias /phpmyadmin /usr/share/phpmyadmin (Failed)
- add Alias /phpmyadmin "/usr/share/phpmyadmin/" (Failed)

[Code]....

NB : my phpmyadmin is install on /usr/share/phpmyadmin with /etc/httpd/conf.d/phpmyadmin.conf as phpmyadmin configuration file

why i still cant open my phpmyadmin site ? or why i cant run phpmyadmin together with my linux server application because it use the same daemon (httpd daemon)

View 1 Replies View Related

CentOS 5 Server :: Setting Up Sendmail With Gmail Smart Host

Dec 18, 2010

I'm trying to setup sendmail to use my gamil account as a mail relay but with no success. I followed these guides: [URL]and many others.my machine is a centos 5.5 vm running under opensuse host. ( I hope that its not just a virtualbox problem..)

I ended up with this setup:
/etc/mail/auth/client-info:
AuthInfo:smtp.gmail.com �U:root� �I:xxxxxx� �P:xxxxxx� "M:PLAIN LOGIN"
AuthInfo:smtp.gmail.com:587 �U:root� �I:xxxxxx� �P:xxxxxx� "M:PLAIN LOGIN"

[Code].....

View 1 Replies View Related

CentOS 5 Server :: Installation - Make On Line And Host Website

Jan 14, 2011

I have installed centOS Server edition on my laptop and installed apache and mysql on server, i wanted to understand how can i make my server on line and host my website on my own server. I am using MTNL Broad band, and i have one static ip, How to make web server in centOS 5.5.

View 7 Replies View Related

CentOS 5 :: List Of Packages To Copy To New Server?

Jun 7, 2011

i have a Centos 5.5 server that some staff have installed some extra packages on. I'm in the process of building a 5.6 server and want to include the packages / updates from the previous server. Can this be done easily? Was thinking of listing everything in a text file then using yum install to populate anything that the old server has that the new one doesnt?

View 3 Replies View Related

CentOS 5 :: CentOS 5.4 Hangs Just Before Desktop Loads?

Apr 1, 2010

My Dell poweredge server running CentOS 5.4 and booting kernel-2.6.18-164.15.1.el5. All boot processes seem okay and the graphical screens for CentOS operate, but just before the desktop loads the screen goes blank and the arrow/cursor is being circled by small spheres. This remains indefinitely. While the arrow is being circled, here are the results of 'getinfo.sh device'

Quote:==================== BEGIN uname -rmi ====================
2.6.18-164.15.1.el5 i686 i386
==================== END uname -rmi ====================

[code]....

View 9 Replies View Related

Server :: Samba Setup - Windows 7 Host, CentOS Machine Using VirtualBox

Jun 23, 2010

I am trying to set up samba in my CentOS virtual machine that is running on a Windows 7 host. I have found a tutorial in the How-Tos on this site but I'm not sure if they are exact and I'm paranoid about messing something up. The link to the tutorial is below. Is there anything that I should do different or anything that I should be aware of? Also, once this is set up, how do I transfer files between the two machines?

[URL]

View 1 Replies View Related

CentOS 5 Server :: Host Or Domain Name Not Found. Name Service Error : Postfix?

Jun 7, 2011

Tearing my hair out on this one a little bit, having problems sending message from web based PHP form to user inbox.I keep getting: Undelivered Mail Returned to Sender<me@mydomain.co.uk>: Host or domain name not found. Name service error for name=mydomain.co.uk type=A: Host not found.Running these commands:

$ hostname = mydomain.co.uk
$ hostname -f = mydomain.co.uk
$ postconf -n =

[code]....

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved