Server :: Use Webserver Machine Outside The LAN Using Internet
Mar 31, 2011
I am using squid3 on ubuntu server 10.10, publish my webserver running on other machine on ubuntu10.10 desktop. My server is configured for squid3 transparent proxy which is running successfully.
Now I need to publish my other machine which is running with apache2 webserver.The local IP is 192.168.1.5, I need to assign a public IP as 61.8.153.212 provided by ISP.
use my webserver machine outside the LAN using internet, through ubuntu server 10.10 squid3.
I have one desktop machine with fedora 11 installed and a Laptop with both linux and Windows Xp. I use the laptop as my client machine.
I want to set up both a dns and web servers on the same machine for testing and practise purposes.
how to do it bcoz I can set up the webserver but I can't browse the website on the Fedora machine when I use my laptop. I have learnt that I should set up a Dns server.
Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.
But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com
I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.
I have installed Tomcat on an Ubuntu 9.10 machine and previous to now I have been able to access the website from any other machine within the network. I suddenly am no longer able to do this.I also noticed that on the local machine I can access usinghttp://localhost but not by doing http://172.16.7.62 (again, from the local machine), should that work (assuming that it is the correct IP address of the machine)
I want to set up the following server in open suse:dhcpopenldapnfs (to allow users to mount their home directories from the serverI started off with the openldap server. I configured it with dc=localdomain,dc=local as its domain. As the server machine has no internet. Though when I go to add a .ldif file with the following command
Code: ldapadd -x -D 'cn=Administrator,dc=localdomain,dc=local' -f /home/base.ldif -W It returns this
Long term Fedora user, I have recently decided to set up a small shuttle computer as a media centre (using mythTV), data store/NAS (so all my data is centralized), mini web server, etc. After installing I had the fun of trying to get my audio working correctly (which I did eventually .. after finding out I unplugged the audio after the second reboot and solved it after somewhere). After this, I got internet video searching working through mythTV using adobe Flash. I then went to bed only to find the internet not working (can't telnet, can't traceroute, can't anything). This is both as the mythtv user I have set up and as root.
The setup I have is: PC -> router -> interweb 192.168.1.7 -> 192.168.1.1 -> interweb
I also have a laptop (F12) which is on 192.168.1.5. The laptop has access to the internet just fine (no problem at router / interweb). I have the only access to the router and disabled any ISP access (no changes in router). I have the only access to the PC (no changes in PC). I have set SElinux to permissive (no selinux issues). I have temporarily disabled iptables on the PC (not firewall issue).
So, I decided to look at the differences between my two machines on the network. Initially the PC was missing the route: 169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0 I changed the services on startup so thet 'NetworkManager' was off, but 'network' started (exactly like my laptop). I turned off avahi-daemon, and any other network sort of daemon which doesn't match my laptop (which I have also customized).
I then set my eth0 config file to this: Code: # nVidia Corporation MCP77 Ethernet DEVICE=eth0 HWADDR=00:30:1B:47:C4:FF ONBOOT=yes BOOTPROTO=none TYPE=Ethernet DNS1=192.168.1.1 USERCTL=yes IPV6INIT=no # DEFROUTE=yes IPV4_FAILURE_FATAL=yes # NAME="System eth0" # UUID=5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03 IPADDR=192.168.1.7 NETMASK=255.255.255.0 NM_CONTROLLED=yes GATEWAY=192.168.1.1 MTU=1432 # PREFIX=24
Commented out any lines which I didn't recognize. So, right now netstat -rn returns: Code: Destination Gateway Genmask Flags MSS Window irtt Iface 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
/etc/sysconfig/network: Code: NETWORKING=yes HOSTNAME=sophie And to me everything looks OK.
I even have inter-communication working fine (I can SSH between the two servers no problems - 192.168.1.7 <-> 192.168.1.5). I can do DNS queries from both just fine (nslookup google.com returns fine). I just can't get any information back from the net. Would it be work me doing a tcpdump or wireshark dump etc ('tcpdump > file' would be easier for me)?
I have set up my guest OS in VirtualBox so that it has a static ip and is using a bridged adapter. As a result, I can see the webserver that's hosted in guest from my host OS's web browser. However, for some reason my current setup does not allow my guest to reach the internet. What settings do I need to enable both?
I'm trying to run Web server (nginx, does not really matter) "behind" VPN tunnel (i.e., on VPN client - the idea is that Web server is available at VPN endpoint IP on VPN server). Stock Ubuntu 9.10 Server with stock openvpn 2.1. No network changes done, only ufw is enabled and IPv6 is switched off. I need this box to be available at main IP address, no default route for VPN tunnel.
Tunnel itself works nicely, no problems at all. Hand-made static routes work via tunnel just fine. Problem is in-going traffic - I can see that it at least comes via tunnel (via OpenVPN debug), but is blocked (or dropped) by firewall or kernel. As far as I know, specific VPN server does not filter anything and is used for running Web servers on other IPs. I think I might need to set up some sort of IP forwarding for tap0 device to localhost - but don't really know where to start.
Tried disabling firewall, making Web server listen on all IPs (from localhost to VPN tunnel) - no luck. The box is in another country and KVM will be time and money, so I really don't feel like experimenting. openvpn.conf (IPs are obscured, non-relevant options removed, based on recommended config for that server):
I have an ubuntu kk laptop connected via wireless to my mixed network (xp, win7, other ubuntu), but i can not ping said machine or connect via ssh. Internet and smb-browsing ON this machine work, as does pinging FROM it. If this was a windows machine, I'd say a firewall is in the way, but since it's a vanilla karmic install, this should not be the case (or should it?).
The server I'm running runs Debian Etch, Squid and Shorewall. Every 24 hours the server gets a new internet IP so I need to use dyndns to keep the dns pointing to the correct PC.
I have a webserver that is running behind the debian server and am having trouble with it. When I enter the web address, it gets a timeout.
I am interested in setting up a webserver on a PC I have laying around...more for the experience and knowledge of learning it from scratch. I have used dedicated servers before with webhosting, but did not do the installations of apache and other items. The server we had purchased had CentOS installed.
My question is, can I use this desktop I have to simply install the CentOS DVD torrent off their website, and start from there, with installing apache, and all the other items associated with a server environment to test/play around, or is there a difference and something I am missing with my plan to do this?
The end result will be having my desktop setup as a "server" I can ssh into and screw around with just to learn more about it.Sorry for the basic question. (i posted this here instead of the "newbie" section, since i figured it would get moved here)
I have a Ubuntu server (10.10) setup with apache and is being port NAT'ted via firewall from outside to the webserver.I am able to access the webserver from inside LAN but not from outside. NATs are working fine because I can see the traffic come through on tcpdump but the webserver will not respond to the request from outside ip address.Here are the tcpdumps.
I use VPS because when i was on share hosting. My website was hacked by hacker. Now i'm using VPS. I want to ask how to update webserver application such as Mysql, phpMyAdmin, lighttpd I use centOS 5 i386 and i use Kloxo Panel. I was already installed Mybb.
The issue is i am using the RHEL server as my webserver and database centre. Now its a brand new formatted server with good amount of RAM and the usage is not much. Its being accessed locally over the LAN. But still i can see speed deficiency. Some of the pages do not get loaded and some times i can see the delays in loading the new pages. Any idea y is it so? Or is there anything i can do to increase the speed?
We have a cisco ASA firewall at work,which redirects all http traffic to our webserver. We have to install a new website ,but it can't be installed to the same server. Setting up a squid reverse proxy can redirect the incoming http requests to the appropriate webserver? If yes, could I get some directions on howto?
We have an environment where couple of webservers are being active behind the loadbalancer, the webpage is getting loaded extremely slow if we restart the apache on those boxes its responding very fine. So currently we are restarting the apache service daily basis, i have attached the config with this thread could anyone suggest how to fine tune apache so it works fine without restarting it daily?
Im trying to make a webserver at home. I have a static IP Address of my ISP (o2) I have built a server ( 2.8 p4HT, 2GB Ram, 500GB HDD) Just to test... But, i dont know what to do in the IP Address settings for the IPv4 ( I think thats what it is) Do i put my static IP address in my ISP gave me, or the local IP of the server ( Wich is 192.168.1.72) Im realy confused. Ive tried everything i can think of, Reinstalled the os about 40 times up to now...
I have 4 centos5 apache webservers all on the same network, recently, 2 of the webservers have stopped being able to ping or browse one particular website where feeds are obtained from this site. I have checked and firewall and selinux settings are disabled. The two webservers are able to ping and browse other sites. Dns settings are the same for all 4 servers. traceroute for working and not working webservers are the same.
I sometimes get my webserver blocked by my mysql server because of "to many connection errors" and have to use flush hosts to solve it, i now wonder if there is any way to increese that connection error value so the webserver wont get blocked ?
I'm trying to send files from a Unix server using http/curl to a Linux webserver running Apache. I get the following PUT error message when and the file does not send:
<title>405 Method Not Allowed</title> </head><body> <h1>Method Not Allowed</h1> <p>The requested method PUT is not allowed for the URL
I need to access a Windows Server 2000 machine using a Linux machine via KDE, but that will migrate to Gnome. The Linux user to connect to Windows machine, you should open an application 'XYZ' automatically, and only this, denying any unauthorized access. When you close the application 'XYZ' communications (RDP?) Should be terminated. Do I need a log of accesses and possible attempts to circumvent the system and access other application.
I had installed apache previously on my system, and I think I uninstalled it completely, although remnants might have remained. I have just installed zend server ce php 5.3, and I am having trouble getting it to work. When I log in to the admin interface, it told me it couldn't start the webserver, so I go to restart apache, and it gives me this:* Starting web server apache2 Syntax error on line 6 of /etc/apache2/sitesenabled/zendserver_gui.conf:Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configurationThis has to do with php_mod some how... but I am not sure how to fix this, or where to start, since I am relatively new to actually setting up apache.I thought this might have something to do with libapache2-mod-php... so I went to reinstall it, and ran this:
mburns@mb2449-laptop:~$ sudo aptitude install libapache2-mod-php5 Reading package lists... Done Building dependency tree
I would like to run a copy of my live webserver in a Virtual PC on Windows so whenever I need to install new stuff on my webserver, I can "practice" first on the virtual copy.It doesn't need to be an exact copy: I'm not really interested in having a copy of all domains on the webserver.Is there a way to do that without having to take the webserver offline?
We are planning to migrate our LINUX server from RHEL 3to RHEL 5. What are the configuration difference between RHEL 3 to RHEL 5 for webserver installations?