Ubuntu Servers :: Redirect To Another Internal Webserver?

Feb 26, 2010

I have two servers on my network One with ubuntu 9.10 server And one with openSUSE 11.2.The ubuntu server is my webserver and runs phpsysinfo and my website. On the openSuse server i have a webbased application and some files that i want people to be able to reach by using mydomain.com wich points to my ubuntu server. Is there any way to do this?

View 1 Replies


ADVERTISEMENT

Server :: Accessing Internal Webserver From Public Webserver

Dec 18, 2009

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.

View 1 Replies View Related

Server :: Redirect Different Domains To Different Internal Servers

Apr 23, 2010

I have several web servers running apache on my LAN. Each internal server hosts a number of domains.I would like to make these available to the internet and make sure they all get to use port 80 and 443.My idea was to put Apache on the firewall and have all http(s) traffic from the Internet to my firewall be redirected by Apache to the different internal apache servers. This, in theory, would allow me to keep the standard http(s) port.

Can this be done? I was thinking of mod_rewrite and mod_redirect but in all honesty, I'm a little at a loss on where to start.Can someone point me to relevant documentation or give me the basic idea on how to start?

View 2 Replies View Related

Fedora Servers :: Apache External IP To Internal IP Redirect

Feb 18, 2009

I would like to redirect a external IP to a internal IP, all done with Apache. Is that possible.

View 4 Replies View Related

Server :: Redirect The Incoming Http Requests To The Appropriate Webserver?

Mar 20, 2011

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?

View 5 Replies View Related

Security :: Blocking Local Webserver For Internal Clients?

Sep 18, 2009

I've small issue with blocking local clients. I mean I've webserver that I want to allow limited number to clients to that let say I've 10 users from 10.5.1.1-10 I would like to block 1-9 and allow only last client to access that webserver . Ive tried the following

Code:

iptables -A -p tcp -i eth1 -d 10.1.1.14 -s ! 10.5.1.10 -j REJECT
iptables -A INPUT -p tcp -d 10.1.1.14 -i eth1 -s ! 10.5.1.10 -j DROP

View 1 Replies View Related

Networking :: Redirect Marked Packets To Internal Website?

Dec 17, 2010

I found this really cool guide / info about creating an internet portal where users have to register (their MAC) with the server to use the internet. basically if users MAC's are in the list they get routed to the internet if not they get routed to an internal page asking them to register. It works great and works well. I was wondering if there are some smart people out there who could help me reverse the process.. eg if your mac is not in the list you can access the internet if it is, you are redirected to an internal page saying "youve been blocked"

The firewall rules are as follows.
Code: IPTABLES=/sbin/iptables
# Create internet chain
# This is used to authenticate users who have already signed up
$IPTABLES -N internet -t nat
# First send all traffic via newly created internet chain

[Code]...

View 3 Replies View Related

Ubuntu Servers :: Php Not Running On Webserver?

May 8, 2010

when i go to my server's IP address, the index.php files is downloaded, not run, how can I fix this? I have php5 installed and enabled.

Quote:

root@ubuntu:~$ ls /etc/apache2/mods-enabled/
alias.conf authz_user.load dir.load php5.load
alias.load autoindex.conf env.load reqtimeout.conf
auth_basic.load autoindex.load mime.conf reqtimeout.load

[Code]....

View 4 Replies View Related

Ubuntu Servers :: Accessing Webserver From Outside LAN?

Oct 20, 2010

I posted this question a while ago but haven't had any luck getting it answered so I reworded everything to make it more clear. I started an Ubuntu web server on an old work laptop. The purpose of this server is to host a small file-sharing site, a forum, and a wiki. I have no prior experience with command line Ubuntu but am trying to figure this all out.

So far Ive setup the LAMP server, so apache, mysql, and php are installed. Ive also installed phpBB3 and Mediawiki. Both phpBB3 and Mediawiki are able to open from inside my LAN. I also have SSH setup and am able to use putty to manage the server from inside my LAN. Mediawiki runs slow internally but this is a secondary concern.

Externally to the LAN I can access the webserver using SSH(but sometimes it is too slow for anything that opens up such as nano or the SQL password prompt to display and the connection drops). I can also browse to the site and see the default apache welcome message. But I cannot open the mediawiki or phpbb site. Both will sit indefinitely and not open. The access log on the server shows that the request is being passed through though.

View 9 Replies View Related

Ubuntu Servers :: Setting Up DNS For Webserver

Nov 17, 2010

how to create an entire server from scratch using a minimal install. I know Ubuntu Server 10.04.1 comes with packages that can be included during install but for the sake of learning I only installed SSH access.

I was able to get Apache2, MySQL, PHP5 installed and running fine. What I'm trying to do next is setup DNS so I can point fragdata.com to my Ubuntu server and have other people see my test site.

I have registered the nameserver ns1.fragdata.com with my IP and updated DNS in my registrar. I followed the tutorial but "dig fragdata.com" gives me the following:

Code:
root@linux-server:/home/syvil# dig fragdata.com
; <<>> DiG 9.7.0-P1 <<>> fragdata.com
;; global options: +cmd
;; Got answer:

[Code]....

View 9 Replies View Related

Ubuntu Servers :: Upgrade Webserver From Php 5.3.5 To Php 5.3.6?

Sep 1, 2011

In order to pass PCI compliance I need to upgrade our webserver from php 5.3.5 to php 5.3.6. I found this: [URL] however it doesn't seem to work. My best guess is due to the fact I have 64bit server. Is there something else I can do without going through a compile?

Distributor ID: Ubuntu
Description: Ubuntu 11.04
Release: 11.04
Codename: natty

Linux 2.6.38-10-server #46-Ubuntu SMP Tue Jun 28 16:31:00 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

View 7 Replies View Related

Ubuntu Servers :: Setup My Own Webserver Using Webmin

Nov 27, 2010

I am planning to setup my own webserver using webmin, but from what i've read i apprently need two harddrives. one for the OS & one for the data. can i just partition my harddrive into two because i dont have another hdd lying around. i also just want to note that this is my first time trying to do something like this sooo I rly want to try to set up my own server . As a side note ill list the specs of the comp i plan to use as a server. Pentium 4 2.8ghz, 1gb DDR, 80GB 7200RPM HDD.

View 7 Replies View Related

Ubuntu Servers :: Redirect DNS Lookups To Other Servers?

Jan 12, 2011

Removed the thread; figured out that this does work in the zones config:

<Record you want redirected to another nameserver><tab>IN<tab>NS<tab><name server to redirect the query to>

View 1 Replies View Related

Ubuntu Servers :: Setup A Webserver Using The EHCP Plugin?

Apr 25, 2010

I am trying to set up a webserver using Ubuntu server with the EHCP plugin. I have it working and can access the EHCP page by using the IP address on my local network (192.168.0.4) So far so good. I then set uo a domain using the Domain add new(custom)from the sidebar. I provided the following info:

domainname - learner
Panel - me
Panel password - me2
Ftp user - DACL
ftp password cullompton

Great I have now got a folder structure including httpdocs for that domain, I can also use filezilla to upload webpages etc to that folder, and have uploaded a page called index.htm One problem remains - what address do I type into the web browser to see the webpage. I've tried 192.168.0.4/learner which is what I expected to work.this will only ever be used as a web server on a local network, never on the WAN.

View 9 Replies View Related

Ubuntu Servers :: Webserver Is Working - Configure MySQL?

May 7, 2010

So in my first ever attempt at Linux (and servers) I was able to set up a working web server that is visible from outside my network and created a simple PHP page thanks to this tutorial. I installed MySQL and have some experience with MS SQL but have no clue how to get started setting up databases and writing procedures in MySQL. I know all the syntax about writing scripts for MySQL (assuming it's the same as SQL) but I don't know how to get started. Do I need to be on the web server or can I do it remotely? Is there a front end GUI that everyone uses?

View 1 Replies View Related

Ubuntu Servers :: High Load On Webserver After Upgrade To 10.04 From 9.10?

May 10, 2010

I upgraded webserver to new ubuntu server 10.04 (x86-64). After upgrade the increased load from 0,3 to 1,4. On webserver running phpbb, which generating slow quieres, which not before upgrade to lucid. HW conf: Intel Core i7, 8GB ram, WD Raptor 10k rpm. Week17 upgrade to new version.

View 9 Replies View Related

Ubuntu Servers :: Setup A Smtp Mailer For A Webserver

Feb 13, 2011

I've several webserver (ubuntu 10.10 x64) on which I would like to be able to send mail like newsletter.I don't need to recieve mail on these servers, I'm using google Apps for recieving mail for the hosted domains.There's sendmail installed by default on ubuntu server..Previoulsy I was using Exim4 configured to use gmail SMTP server to send technical mails (apticron, logwatch, cron mail), but it doesn't fit for newsletter type of mailing.On my tries, I've wanted to setup Exim4 (just for the sending part, no inbox, and not using gmail stmp) which result in:

sendmail marked a uninstalled but still there and working Exim4 complaining about not being able to bind the port 25.I've removed exim4 (/etc/init.d/exim4 were not deleted...)I've reinstalled sendmail.I got this warning on installof sendmail: /etc/mail/aliases: 5 aliases, longest 21 bytes, 91 bytes total

How do I restore a working sendmail? What do I need to do so that mail sent from these servers aren't marked as spam? (not considering the content of the mail, but the server that send the mail) I see that some company used some specialized company like "grosbill.emailingoptin.com for grosbill.com" Should I specialize one domain for all newsletter ?

View 4 Replies View Related

Ubuntu Servers :: Install The Webserver In A Separated Volume?

Aug 17, 2011

I'm installing a webserver in a Ubuntu 10.04. I want to install the webserver in a separated volume to backup it easily.

This is a resume:

Code:

apt-get -y -q install xfsprogs
mkfs.xfs /dev/sdf1
mkdir /ebs
mount /dev/sdf1 /ebs

[code]....

View 2 Replies View Related

Ubuntu Servers :: Webserver On OpenVPN Client (visible To Internet)

Apr 19, 2010

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):

Code:

# Setup
dev tap
remote 1.2.3.4
port 5091

[code]....

View 5 Replies View Related

Ubuntu Servers :: Setting Up Own Webserver For Genealogy Using GRAMPS / PHPGedView

Jul 18, 2010

Set up my own web server hosted at home that I can use a genealogy program such as GRAMPS or PHPGedView with so that family members and I can store, view and upload information online viewable only to other family members.I have a old Dell server from work to use as a server (I know specs are helpful but don't have them at the moment.)I know that there are web hosting sites that this can be accomplished with easier and cheap but I mostly want to use this as an opportunity to learn.I am extremely new to Linux but the love the power it offers as well as it's philosophy.So far I've installed Ubuntu 10.04 Server on the machine.

I installed Apache, MySql, PHP and various other things with it.I got all the way through but have some errors with ISPconfig set up and some when I reboot.My main question at this point is, is this the best approach for what I want to do? And then once it's set up where do I go to learn how to use my system.

View 2 Replies View Related

Ubuntu Servers :: Setup And Run Monit To Monitor An Apache2 Webserver?

Nov 11, 2010

I'm trying to set up and run Monit to monitor an Apache2 webserver, I want to be able to ensure Apache is running and if it's not have it restarted with an email alert sent out.

The monitrc (edited for relevance) looks like:

Code:
check system *server name*
if loadavg (1min) > 4 then alert
if loadavg (5min) > 2 then alert

[Code].....

View 8 Replies View Related

Ubuntu Servers :: Ultra-lightweight Webserver For Wordpress Blog?

Aug 11, 2011

I have small home atom-server on netbook (with damaged screen) with Intel Atom N450 1.6Ghz CPU and 1GB of RAM. I am looking for web server, that would not eat much resources when hosting wordpress blog (up to 50-100 readers at once in veeeeeery far future) - posts in most cases will be only text based, without big images or archives (I'm not sure if it is important).The brain of my atom-server is latest 32-bit ubuntu server, without X's, I access it from ssh console only. It is already:

- proxy gate for my internal network (squid)
- my gmail backup/IMAP (dovecot & getmail)
- file server for my internal network (samba)

[code]....

View 6 Replies View Related

Fedora Servers :: Tar Backup Of Webserver On FC10?

Jan 27, 2009

I want to backup my apache website using tar. I want to make sure all the permissions and such stay the same so that if I restore a website, it's ready to go exactly as it had been.I am using the following command and would like to know if there is anything else I should neeed to do?

tar --xattrs cvzf backup.tgz /path-to-webserver-files

Now my other question is since tar doesn't store absolute paths, when I run the restore I have to be in the root directory? In another words if I run the command in a user directory will tar do something retarded like encode the paths as ../path-to-webserver or will it just be path-to-webserver so that when I run the restore from the / folder it will automatically go into the right place?

View 4 Replies View Related

Fedora Servers :: Apache Webserver - Can't Paste File / Make It Possible?

Aug 4, 2009

I've tried to copy my files from Xamp httdocs in windows to /var/www/html,
but I can't paste the file, what should I do so I can paste the files ?
I have logged in as a root..

View 2 Replies View Related

General :: Host Webserver: Connection Timed Out - No Servers Could Be Reached

Feb 17, 2011

I have standalone Suse 10 SP3 that when I run

Code: # hostname webserver but when I run host command

Code: # host webserver;; connection timed out; no servers could be reached I would like to get the IP when I issue

[Code]....

View 3 Replies View Related

Ubuntu Servers :: Installing Zend Server \ When Log In To The Admin Interface, It Told It Couldn't Start The Webserver?

Oct 18, 2010

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

[code]....

View 2 Replies View Related

Ubuntu Servers :: Redirect All Network To Squid?

Apr 28, 2010

I've been having a hard time googling and trying to get ALL network connection to be redirected to squid proxy. I couldn't find a proper configuration for ufw or iptables. The ideas are:

1. redirection rule should NOT depend on a specific network inteface, but should work with any connection type, ex.: ppp0 or eth0... 2. firewall rules can be for firehol, iptables, or ufw (the same as iptables, just tell me where to place them). Preferably ufw or gufw. 3. should not interfere on cups web interface and lighttpd server.

BTW: it's not a ubuntu server install

View 6 Replies View Related

Ubuntu Servers :: Redirect All Outgoing Emails?

May 10, 2010

Here's what I'm trying to do to complete my rocking development server.

I would like all outgoing email on my Ubuntu server to be redirected to one email address (internal or external). I don't have any mail server installed yet (I'll probably use postfix unless you have another suggestion).

The reason I would like this to work is because I'm a web developer working on multiple projects. When I start working on a new project I would like to be able to test some of the forms and features in the web application (PHP) without having emails sent to the email address configured in the application. I can always change configurations but having my development server forward the emails would save me lots of trouble.

Example:
If one of my php application sends an email to: user1@domain.com, user3@domain4.com... I would like all of them to forward to myemail@domain.com

View 3 Replies View Related

Ubuntu Servers :: How To Redirect Web Access Into Different Web Apps

Sep 30, 2010

I got two web apps in my single linux box, they are Wiki and Mantis the screenshot of the web apps directory shown below.I have created the DNS CNAME record for this server which point to the main server SV6.somehow i got error after i edit it and restart the Apache server.

View 2 Replies View Related

Ubuntu Servers :: Make It A .com - Redirect DNS To Server IP?

Oct 26, 2010

I'm hosting my own dedicated server with Ubuntu Server 10.10. I have it set up with a static local IP, and I've configured DynDNS to link up with my router and allow my server to go live to the internet. I have all the appropriate ports unlocked, with the exception of port 80. This port is blocked by my ISP (Charter) and I can't use it. Due to this, I configured my router to listen on port 81, and direct it to my server.

So, In order to view it, you need to go to the IP XXX.xxx.XXX.xxx:81 Today, I registered (www.online-self.com) in hopes of getting around my current mask (provided by DynDNS.com (omegame.selfip.com). So here is my dilemma, When I go to the host of my domain name , I want to redirect my DNS to my server IP.

I can't seem to do it though? They want a strict IP address, no port extensions. How do I get around this so that my domain name and IP address link up? I'm thinking I may be missing a step, or maybe I needed to register a domain name that simply redirects? I'm starting to get confused on what I should do next. Can I even do this?

View 6 Replies View Related







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