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:
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80 no listening sockets available, shutting down Unable to open logs failed!
[notice] Digest: generating secret for digest authentication ... [notice] Digest: done [warn] RSA server certificate CommonName (CN) `srvspam' does NOT match server name!?
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:
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)
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.
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?
I have recordings of the same sequence from different angles and would like to overlap them. I have tried sox but all that it does is form one file out of two, with one playing after the other. I need to overlap them.
I've download the gpac files for MP4box from:[URL]..but im having issues compiling it. Its telling me "gcc: error: unrecognized option '--warn-common'"Running 64bit FC 15
I have been having issues with my desktop background pictures overlapping.
I'm running Ubuntu 10.10 on a 2008 2.2ghz white macbook and outputting to a 27" LG monitor through the mini-dvi output. This issue occurred when I was running 10.04 as well.
I've tried editing xrandr:
Code: Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 8192 x 8192 VGA1 disconnected (normal left inverted right x axis y axis) LVDS1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 286mm x 179mm 1280x800 59.9 + 1024x768 60.0*
Currently I have an issue with a html page with css layout. I use div blocks to visualize servers within a blade enclosure on a html page. Some servers are fullsize, others are halfsize. The css layout looks ok unless the second row misses some elements. I would need a div that I can use as placeholder so that neighbor divs are placed in the right column. Those placeholder divs should be overlapped by divs from row1 that are bigger in size.
Example: For example if bay 3 and 4 of row1 are occupied by a fullsize blade, 2 divs in 3 and 4 will be missing. The result is that the divs that should be displayed in bay 5 and 6 are placed in bay 3 and 4 instead of bay 5 and 6 where they would belong. Because the "empty space" divs are non overlapable, the "fullsize" divs from row1 column 3 and 4 are truncated. They should span to the second row and the "empty space" divs in row2 column 3 and 4 should move right to column 5 and 6.
As this html page is automatically generated once a day, I need to use something like a div placeholder as I cannot easily modify the position of an individual element.
I would like to backup my entire Ubuntu installation (/boot, swap and /) at /dev/sda (4GB) to /dev/sdb (10GB).I recreated the exact partitions on /dev/sdb, formatted and cp -rp all the files over.For /boot, I used
Code:
dd if=/dev/sda1 of=/dev/sdb1
It didn't boot successfully as the system kept rebooting. I then tried to install grub onto the MBR and boot partition (mounted at /mnt/tempboot).
I applogies if this doesn't fit or if this is right in from of my face but, I'm a bit confused.I'm trying to configure a few VirtualHost in apache2. I currently a default virtualhost and 2 other sites. No matter which domain I visit I still get the default page.. My Confusion is, I've been reading and some places seem to say that my virtual hosts should be in /etc/apache2/sites-enabled/*Config File* and other seem to say it should be in /etc/apache2/httpd.conf what the awsner... I've tried both ways with no success .... If I put NameVirtualHost in httpd.conf I get an error saying their are no virtual hosts.
Ive made a site on my Ubuntu server and link the folder where it is with VirtualHost. The problem is, when i place mypage.com works, when try www.mypage.com goes to the apache "It Works" page.
I am setting up a VirtualHost on my Apache. I am quite not familiar with Ubuntu setup so I am wondering what will I do with the 000-default file (which contains a template of virtualhost syntax)? What filename will I save it to?
I didn't know exactly where to put this, but here it goes:For the record, I have Apache2 on Ubuntu.OK so I have a "svn" subdomain for SVN repositories. The repositories are actual separate repositories, not a big one for all. So I'm using SVNPath not SVNParentPath (please don't suggest this as a possible fix).
The problem is I want to be able to list the repositories (or even put a blank page for that matter) at svn.mydomain.com. All repositories have a svn.mydomain.com/myrepository path with a VirtualHost for each. So when I create another VirtualHost just for the / path, it overrides all the SVN VirtualHosts, as it covers / and all sub-directories.
I would like a way to set that VirtualHost to affect just the root directory, without the sub-directories. Or to make the SVN VirtualHosts override it. Either way, is this possible? What approach should I take? Thanks!
I currently use 192.168.1.10:85 to refer to my localhost ip address, and I setup port-based virtualhosts because this seems like the only feasible/practical way to view this from within Windows XP on my Debian's VirtualBox. Is anyone else aware of some advanced techniques in which I could view it by the ServerName instead? I would assume I have to hook it up to some sort of DNS server? I know I can also edit the hosts file in my Windows XP and point certain urls to my IP address, but it will always resolve to the primary default virtualhost.
I suspect this is an initial configuration bug. All firewall logs seem to be going to all three files. That causes a lot of clutter in the log files, and makes it difficult to see whether there are any serious problems being logged.
I'm sure it's a minor mistake; these are the steps I've taken currentdomain: domain i already have, and works. newdomain: domain i newly bought.
[Code]....
This is to make sure the files are actually there, this subdomain works... simply pointing to the same folder
[Code]...
- all ipadresses in the hosting service of the domain thing is pointing to the vps. - Within the vps that servername is directed to the directory /var/www/the_directory - That directory holds the actual website files. This is proven with the subdomain method.
After fixing drive partition numbers, I got the following error from cfdisk: Code: FATAL ERROR: Bad logical partition 6: enlarged logical partitions overlap Press any key to exit cfdisk However, I can see all my partitions with fdisk and gparted, I can mount and use all of them.I used the following guide to fix the drive numbers order: Reorder partition drive numbers in linux | LinkedBits Does somebody know whet is cfdisks problem and how can I fix it?
Anybody knows how to fix overlapping tasks in KDE system taskbar?Here System Monitor overlaps with digiKamWorkaround to rearrange icons - start any new task.Sorry for taking real photo of the screen. When I do PrintScreen KSnapShot task appears in the list and makes all task to rearrange. The resulting screenshot contains already fixed view.
I installed Ubuntu as shown in the wiki and when I went to restart it gave me a lovely blinking cursor and nothing else. So I held down option, loaded into osx, reinstalled rEFIt and got my menu on startup. Unfortunately, the partition sync tool doesn't seam to be working, it gives me an error: Status: MBR partition table is invalid, partitions overlap. Error: Not Found returned from gptsync.efi
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
I'm running the current release of Debian with the 2.6.26-2 kernel. This is an upgrade from an older (2.4 kernel) series redhat release. One of the things I had working in the older system was a dns server with accompanying monthly update of the root hints file. I tried working through a dns how-to to set this up again, but it seems much has moved around since I last played with this. All of the files listed in the how-to are not where it says they should be. I am looking for a better reference on keeping the dns server running with current server information.
I have installed nfs-kernel-server on the server and nfs-common on the client. Assumeserver 192.168.1.1client 192.168.1.3
content of /etc/exports is: /home 192.168.1.0/255.255.255.0(rw,sync,no_root_squash) /home/nfsroot 192.168.1.0/255.255.255.0(rw,no_subtree_check,async,no_root_squash)