OpenSUSE Network :: Virtual Host - Write "any" On Address Section Instead Of Ip?
Apr 15, 2010
I need some advice about virtual hosting on opensuse 11.1. I have about 6 domains running on the server. I use Webmin and Virtualmin on my server. Everything is working ok but I feel that I do something wrong
1. Lets say I have [URL] web and mail server running. When I write [URL] on my browser, the site is coming up but when I also write [URL] and I see the same page. There is no record on apache for [URL], there is only DNS record for the mail server. What do I do wrong?
2. Apache conf. is as below; do you think is it better to write "any" on address section instead of ip? What is the difference?
Address 88.11.11.111 (ip isn't true) Port 80Server Name domainname.com Document Root /srv/www/domainname.com/public_html
3. IP Address is the same for all domains. How I can configure that; when I write the ip address on my browser, only the specific site which I choose will be opened? Whichever I created last, that site is opening right now.
I just intalled OpenSuse 11.2 on VmWare Server 2.0.2, the network is configured as Bridged and is sucefully configured a fixed IP in my network. Ok... The problem is... I can ping / trace all addresses from OpenSuse console. But I Can't wget all of them... It's a random thing. the same address that trace's ok, don't work for HTTP.
You maybe know that VirtualBox has an "immutable" feature for HDD images. I.e. setup the system, if the stuff is in place, you can set the image to IMMUTABLE to prevent any changes to the image. Differences are written to a separated image. So on the next boot you'll see that all the (unintended) changes are gone and the "old" system is up & running again. I run an old SuSE 10.3 on a write-protected SD-IDE-Adapter. Changing and playing with RPMs is a mess due to around 50 changes I had to do to make that work. Is there any option to mount an SD-card as RO and having all the changes written to e.g. /dev/sda3? To make it clear: I thought about something like a RAID-X system, but could not find any description on how to setup a raidtab.
i installed RHEL 6 as virtual host on one of the blades on HP enclosure. i set up network on eth0 and started it but i cannot even ping gateway from within this installation. i logged in as root. i set up everything such as IP, netmask, gateway, nameserver etc.
1) My Internet connection is COMCAST with a router box and one public IP address.2) My web server is Apache using 10.1.10.200 as its address.3) Now I want to add another host name (www.myhealth.com) on my server. I did DNS forwardin (with Godaddy) to my COMCAST static IP address.4) I also added (in my httpd.conf) a block for virtual hosting
Is it possible to create virtual network adapter on the same physical network adapter? or How to give or have multiple MAC Address to the same adpater? I m working on centos 5.3.
Is there any one know how to deploy a remote OS installation for a host with public network address? In a LAN with private network, we can use PXE, kickstart... but what we could do with the hosts have only public ip address?
Bit of an odd one, this. I've migrated a website from my old server to a new machine. Both servers run Ubuntu + Apache2. Both only serve a single site, apart from the default site.I've flipped the domain name to the new IP address.The trouble is that after moving the virtual host config over into sites-available, with the necessary link in sites-enabled, Apache attempts to serve from the default web root (/var/www) rather than the actual site content (in /var/www/technology). So for example, an attempt to browse.
How can I run LAMP (Linux, Apache, MySQL, PHP) in a virtual machine (Ubuntu in virtual box) and make it so the web server is accessible locally (and ONLY locally) on the host OS via an ip address?
apache virtual host to limit the concurrent connections of virtual hosts? Taking into account the host of each virtual user's home directory can also have more than one subdirectory, which should be restricted to a subdirectory. Is beyond the control of the operation of these sites in a subdirectory. Best local restrictions or limitations to the overall situation.
I'm having an issue with setting up the virtual hosts on my web server. I have 2 virtual hosts (example1.com, example2.com). example1.com works but example2.com is sent to the index file of example1.com. I did some searching on google and it seems the problem might be with my /etc/hosts file.
First virtual host that the second is also directed to...in sites-available/sites-enabled (note port 80 is blocked by my isp so I use 8080)
Code:
Second virtual host file
Code:
And my hosts file
Code:
# The following lines are desirable for IPv6 capable hosts
Also I'm using a dyndns.org...would that make a difference?
When I create virtual ethernet interface and do a ping -I <v_int> <host> the outgoing address is the one of the physical interface and NOT the virtual interface.Is there no chance that trafic will go out with virtual interface address??Incoming trafic is done well i.e. responds to the virtual interface have the virtual address.
My problem is that I have 2 modems and want to check both default gw behind the modems. If I do a "normal" ping both are reachable over default route even the modem which is not the default route will not work because ping goes over the working modem.So I have 2 routing tables and want to route the virtual interface to one modem the other to the other modem
I need a small shell based program that prints the mac address of physical ethernet adapter from it's firmware. I need this utility for license generation and appliance activation. I have tried several example but none of them is flawless, The easiest method I have found is to parse the output of "ifconfig" command but it has also some drawbacks.
1. Firstly program should differentiate between physical and virtual adapters. Physical means installed on board(wired or wireless) or installed additionally. Virtual adapters are those created by VPN or created by virtualization apps such as VirtualBox/VMWare etc. I am not interested in virtual ones.
2. In case of more them one physical adapters(wired and wireless), it should print the mac address and description(name & vendor) of both/all adapters.
3. If media is disconnected then also it should be able to read the mac address and description(name, vendor) of card.
4. This one is bit complex. I know that 'ethtool' can show you the universal mac address but it's limited to use only 2 types of drivers and won't work in all cases.
I have a mac and an openSUSE box connected wirelessly to a router. From my mac, if I ping the Linux machine by both ip address and hostname "elmo.local", I get a response. If I ping my mac from the Linux machine using its ip address, I get a response. However, if I ping the mac from the Linux box using its name "kermit.local" - nothing!
This means in order to share files between them via the network, I have to use the ip address rather than name, but I'd rather not. When I had Ubuntu installed instead of openSUSE this all worked fine out of the box, so I'm assuming it's a problem with the setup of openSUSE rather than the router or the mac.
How do I activate static DNS for mobile broadband. I can't find any place to write down this information. Settings are made in Network Manager - not Yast.
I am facing two issues with CUPS - 1. I have installed cups 1.3.9 over OpenSuse11 x86. Please check below -
cups:/usr/share/cups/banners # cups-config --version 1.3.9 cups:/usr/share/cups/banners # cat /proc/version Linux version 2.6.27.7-9-pae (geeko@buildhost) (gcc version 4.3.2 [gcc-4_3-branch revision 141291] (SUSE Linux) ) #1 SMP 2008-12-04 18:10:04 +0100
I have added few printers over there and everything is working fine. I can also able to add - delete - modify any printers from "yast2 printer" command. I can also able to browse cups web interface via http://cups:631, but when I am going to manage the printers (start - stop - delete etc), none of the buttons are working in firefox5 not even in IE also. Older version of firefox is giving error as "This address uses a network port which is normally used for purposes other than Web browsing. Firefox has canceled the request for your protection." All other buttons are working properly.
2. LINUX - LINUX Printing - OK LINUX - WINDOWS Printing - OK WINDOWS - LINUX Printing - NOT OK
While giving printing from Windows machine (Printer attached on Linux), there is no problem to coonect the printers, but unable to print.
I have openSUSE 11.2 installed and i need to create a gateway server that allows virtual private network connections. I want to play with my friends some lan games, but we are in different networks, so i want to create this gateway server so we can connect with VPN clients to this server and play freely.
I've not found how to configure more than one ip address with network manager.Nor with kde nor with plasmoid network manager.I need several virtual ip addresses for eth0 when the "default" of eth0 is connected i.e. "Connected to Auto eth0" should initialize the virtual interfaces.I have not found no even how to configure the ip address.I think this will be used from ifup config in yast or not?There I have the virtual interfaces but they are not taken from network manager.And last but no least: Is it possible that when using network manager the eth0 is enabled even no user has logged in?
When I attempt to connect to a wireless network, the network manager asks me for the network's password, then says 'setting network address' for 20 or so seconds, then asks me for some random Hex or ASCII key in the same type of window I put the password in (Secrets for Noel -- KDE Daemon). Since a key is already typed into the window, I press OK, which then causes the network manager to go back to 'setting network address', then the window pops up again and keeps repeating itself.
I'm running Opensuse 11.4 with KDE, and my driver is ath9k. I don't know much about linux so please don't tell me to 'recompile this' or 'change this setting' without explaining how to do it. Please help, I've been unable to connect to wireless in OpenSUSE for 2 weeks now.
I've updated a desktop from 11.1 to 11.2 with the NET CD. After completion everything worked fine, though I have some issues with the NIC. been looking on the net and the provided solutions haven't been able to resolve the matter. After reboot I don't get an IP address, I go into Yast2 and network settings displays:
I have to delete the unknown device everytime after a reboot in order to get a new IP address. After that all works as it is suppsed to. I've been looking into the /etc/udev/rules.d/70-persistent-net.rules and deleted all that was in there,
while trying to set up Xen Virtual Nodes we encountered one issue with the network (which is why it is posted here On the DomU the interface is provided by a bonding -bond0- of three NICS. Now the Xen network script a) does not take this bonding b) destroyes even this bonding From a number of posts I assume I have to configure this by hand, correct? Is there an instruction how to do this? Simply create a bridge on top of bond0??
Recently loaded 11.3 onto a virtual machine, however none of the network settings will allow me to connect to the internet. First time Ive had this happen, other distro's Ive experimented with connected with no problems. I recall seeing a similar topic some time ago (dont remember if it was here or another forum), but at the time, there had been no fix. Anyone know if this has been fixed?
I have just loaded Suse 11.4 and have had (2) problems, 1st: When I installed some additional programs, such as, Scribus, the system showed them as installed but they did not show up in the "applications" menu any where. I finally tracked them down and edited them in and they work fine - Why aren't they being automatically placed into the menu system? 2nd: I have a home network setup and all systems can see and work with each other, however, the host system is not shown as if it did not exist at all. for example; if I go to "network services" and select "Samba Shares" if other computers are connected it will show them but not the host - if no other computers are connected it shows nothing. On my 11.3 system it shows the host eg; "Linux-12fx blah blah" this is of course my host machine. I have replicated all of my settings on the 11.3 settings on my 11.4 system - no luck!