Ubuntu Servers :: Dividing Websites Between Different Internet Connections?

Apr 12, 2011

I know Ubuntu can do amazing things, but I was wondering if it can use different Internet connections for different websites.

The Setup: We have 1x unshaped ADSL connection at 4MBPS (fastest available) that's used for office related things, Skype, General browsing etc. We have another ADSL connection, this time shaped and running at 4MBPS, I want to send all requests to facebook, twitter and downloading sites like fileserve, filesonic, hotfile etc. to the shaped connection. Can iptables be used to do this? The unshaped ADSL router is connected to eth0 and has an IP of 192.168.0.1 the shaped ADSL router is connected to eth2 and has an IP of 10.0.2.1 Local lan is connected to eth1 and has a range of 192.168.1.0/24 Can iptables send a certain webpage (*.facebook.*) to eth2 and other pages (*.google.*) to eth0 ?

View 3 Replies


ADVERTISEMENT

General :: Intermittent Internet With Ubuntu Natty - Connections To Particular Websites Will Start Timing Out

Aug 28, 2011

I'm having a bit of Internet trouble with a fresh install of Ubuntu Natty and I haven't been able to track down the problem. I have my desktop running over a wireless network, which connects without fail. Somewhat frequently, however, connections to particular websites will start timing out (google, facebook, stackoverflow, us ubuntu archive, etc.). I'm also having a strange issue where my home page [URL] is redirecting to [URL].

Initially I thought it might be an issue with Comcast DNS, so I updated the router to use OpenDns servers. When that didn't work I started to try accessing some of the problematic sites through my laptop (which is using the same router) and they all connect without problem. The issue seems to be with my Ubuntu install, but I'm not sure where to look.

EDIT After doing some further digging, this is starting to look like a DNS issue. My home page appears the resolve to an incorrect ip address when the redirect issue occurs. Still not sure how to track down the problem, however.

View 1 Replies View Related

Fedora Servers :: F10 - Max / Unlimited Internet Connections

Mar 22, 2009

When setting up my server I noticed that I could control the amount of connections; the maximum seems to be 256. My server is currently windows 2003 server which is unlimited connections - before I change the server to F10 I need to be able to have unlimited connections (I often go over 256 connections, I have 25 web sites hosted). How do I do this on F10 or is there a better distro for web servers that have thousands of Internet connections at the one time?

View 4 Replies View Related

Fedora Installation :: Network Connections Is Inactive - Cannot Set Internet Connections

May 30, 2011

I recently installed Fedora 15 now, and during installation I set the internet connection manually, then did update and after reboot, the internet connection settings have been removed. Now I can not set because the network connection to the Internet Connection is inactive. I mention that before the update was functional internet connection.

View 5 Replies View Related

Ubuntu Servers :: Run Two Websites(servers) From One IP Address?

Jan 30, 2011

Is it possible to run two servers through one ip address? And I don't mean through apache to run virtual servers. Right now my set up is: Cable modem>router>server.

View 9 Replies View Related

Ubuntu Networking :: Internet Does Not Open Some Websites

Feb 8, 2010

I've been an Ubuntu user since Jaunty, and i gotta say, i'm really impressed, especially with the great Karmic! However, ever since my first ubuntu installation, i've had a very awkward problem: My internet does not open any of the following websites:
Rapidshare
Megaupload
Urbandictionary

I don't know if there are other websites I wouldn't be able to access, but those are the main ones i use frequently, now here's what I tried so far (nothing worked):
1- Use a different browser (none of firefox, opera or konqueror worked)
2- Edit the etc/hosts file
3- add a line in the etc/hosts.allow file
It seems so stupid to have to power on a virtual machine to download a rapidshare file!

View 9 Replies View Related

Ubuntu Networking :: Can Connect To The Internet, But Not To Any Websites?

Aug 10, 2010

I recently installed Ubuntu 10.4 on my laptop, realtek 8712 wireless chipset. I can connect to the internet, but websites don't load.

View 9 Replies View Related

Ubuntu Servers :: Apache Two Websites One IP

Jun 12, 2011

So here is my problem. I have websiteA.com and websiteB.com. I only have one public IP address. And websiteB needs to be constantly restarted, so both need to be on separate apache servers or instances.Virtual directories wont work cause I can only point websiteA to a directory /var/www/websiteA.Reverse proxy wont work cause I can only catch a sub directory.Proxy /websiteA/ URL...Does anyone know how I could get this to work in anyway.

View 4 Replies View Related

Ubuntu :: 2 Pptp Vpn Connections - When I Dial One Of My Vpn Connections, My Other Vpn Connections Be Disabled?

Feb 7, 2011

have a problem with my network-manager in ubuntu 10.10.when I dial one of my vpn connections, my other vpn connections be disabled and I can't use them!I tried to restart network-manager and gnome-panel, but it does't seem to solve this problem.

View 1 Replies View Related

Ubuntu Servers :: Adding Multiple Websites To Vhost?

Jul 15, 2010

I'm setting up a server on Ubuntu 10.04 for development. It all seems to work nicely, I just have one thing that's bugging me. I have a project in /var/www/portfolio, which is as you may guess my portfolio. Instead of the link http://localhost/portfolio I'd like to use http://portfolio.nl. So I set up a file 'portfolio.nl' under sites-available and a symlink on sites-enabled containing this: To get this to work on my local machine I set up this in /etc/hosts:

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Hosting Multiple Websites With Apache2

Dec 15, 2010

I am trying add three namebased virtual hosts in local apache2 webserver OS ubuntu 10.10. The three sites are :www.site1.eka,www.site2.eka,www.site2.eka

The first I created a file is virtual.conf in conf.d directory its content is :
# we're running multiple virtual hosts.
# NameVirtualHost *:80

Next I created following files in sites-available directory. [URL] is as follows:
#site1.eka (/etc/apache2/sites-available/www.site1.eka)
<VirtualHost *:80>
ServerAdmin webmaster@site1.eka
ServerName www.site1.eka
ServerAlias site1.eka .....

When I visit the [URL] in browser it says server not found.

View 3 Replies View Related

Ubuntu Networking :: Connect To Networks And Even Ping Websites But CANNOT Browse In Internet Explorer Or Firefox?

Jan 21, 2010

I know this is not a win-doze forum but i always ask my questions here so here goes.I am having what appears to be a DNS problem on a friends laptop. He is running windows XP. I CAN connect to networks and even ping websites but i CANNOT browse in Internet Explorer or FIrefox.

View 1 Replies View Related

Programming :: Dividing A String Into Substrings With Three Elements In C++

Jun 23, 2011

im trying to receive a string from user, then divide it into groups of strings with 3 elements only. meaning if input is:

12345 it should give 123 and 45
123456 it should give 123 and 456
1234567 it should give 123 and 456 and 7

anyway what happens based on my code is that it works fine with first two (when it has groups of 3 elements and 2 element, and also when it has groups of all 3 elements) but for the last case (when makes groups of 3 elements and 1 group of 1 element) it shouws as "123 456 7 D"!! meaning it adds one extra character to the last element out of no where!

here is my code:

Code:
#include <iostream>
#include <conio>
struct array
{

[Code]....

View 1 Replies View Related

Ubuntu Security :: Block All Websites Except Desired Websites?

Apr 12, 2010

I want to block all websites except desired websites.

View 3 Replies View Related

Ubuntu Servers :: Moving Websites From Shared Host To Xen Based VPS

Nov 12, 2010

I am moving some websites from a shared host to a newly configured Xen based VPS with Ubuntu 10.04. A steep learning curve but I am getting there! I have a couple of sites installed on the new server and want to test them out, from what I understand I should be able to edit /etc/hosts on my desktop computer (running Ubuntu 10.04) which should automatically redirect my browser to the new server. But it doesn't seem to work.

This is what I appended to the /etc/hosts file:
12.34.56.78 www.xxxx.com

I thought that this should send any requests for www.xxxx.com to 12.34.56.78? Some googling indicated that the browsers I am using may be using DNS caching, ignoring the hosts file. I've tried clearing the cache with Chromium 7.0.517.44 (64615) and Firefox 3.6.12, and even installed a plugin in Firefox to block DNS caching.

View 9 Replies View Related

Ubuntu Servers :: Can't View Hosted Websites Via Wired Connection

Jun 6, 2011

I have an issue viewing my hosted webpages via wired connection on the same network as the server. I can view them via wireless without a problem but wired times out.

View 8 Replies View Related

Fedora Servers :: HTTP - Can't See Websites Externally

Dec 7, 2009

HTTP - Can't see website(s) externally

View 4 Replies View Related

Fedora Servers :: Apache To Block Old Websites?

Apr 8, 2010

I have got a small queston: I have got several websites and some time ago I decided to delete some of them. As a result there is no virtual hosts on my web server, but if I will go to my_old_website dot ru I will be redirected to one of my current web sites (or if I will paste an ip address in browser), I want to know, how to block this?My virtual host's looks like this now:

Code:
<VirtualHost *:80>
ServerAdmin my_mail

[code]...

View 4 Replies View Related

Ubuntu Servers :: Multiple Websites On Single Host Machine Without Virtualisation

Jun 1, 2010

I have this intra net server project going on and now I moved to 10.04 however there are still some things that I would like to see clarification and instructions on. I am interested to set up multiple parallel websites for my apache server, however I am not sure how to do this exactly. Now I have solid address rivera.wippies.net and port 80 redirecting to my server. What I would like to get done is that I get multiple independent of each other websites for my server I was thinking of making websites like this

/var/www/site1 (which would be as rivera.wippies.net)
/var/www/site2 (which would be as rivera.wippies.net/othersite)
/var/www/site3 (which would be rivera.wippies.net/secondothersite)

etc, so that I have multiple "individual" websties for my server. Requirements would be that each of these websites could have SSL encryption as needed available too, since some of the website could have confidential information.

View 9 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

Fedora Servers :: Have Multiple SSL Websites On Single IP With Different SSL Certificates?

May 8, 2009

I would like to know if I need multiple IPs' to setup two SSL urls on the same Apache server? Two ssl certificates, one IP - is it possible?

View 4 Replies View Related

Fedora Servers :: Loading Local Websites Takes For Ever?

Sep 14, 2010

I develop many websites at the time in php, so I created virtual hosts in apache. In order for them to work properly I edited /etc/hosts like thisQuote:

10.50.2.105hal.mundohal# Added by NetworkManager
127.0.0.1localhost.localdomainlocalhost
::1hal.mundohallocalhost6.localdomain6localhost6

[code]....

View 1 Replies View Related

Ubuntu Networking :: Internet Connections Is Not Working

Apr 7, 2010

I have the latest Ubuntu (9.10) desktop. My 2 cards are:

WiFi: Intel(R) Wireless WiFi Link 5100
Ethernet: Marvell Yukon 88E8072 PCI-E Gigabit Ethernet Controller

Is there any way to get drivers working? My hardware switch is on and i have Ubuntu 9.10 running persistently on my usb so i can download the drivers etc. and install them.

View 7 Replies View Related

Ubuntu Networking :: Monitor Internet Connections ?

Jun 7, 2010

I am a user of Ubuntu 10.04 and I use Firestarter because it lets me know which IPs I am connected to, which ports are used, and which applications are using those ports. The problem is that I can't use Firestarter with my non-sudo account (well, I know that I can change my system settings to do that, but I'd rahther not do it).

So the question is: Is there any application that lets the user monitor the internet connection?

View 1 Replies View Related

Ubuntu Servers :: BASH Scripts For Websites - Automatically Download And Process Data

Sep 1, 2011

set up BASH scripts on the server to automatically download and process data, and then upload it to my website. Is it even possible? Do servers allow website owners to place BASH scripts that can run automatically, or keep running indefinitely?

View 5 Replies View Related

Ubuntu Networking :: Disrupts Internet Connections To Other Computers

Sep 18, 2010

While using Ubuntu two other computers lose their connection. One (main) is connected to the modem, other from the switch to the wireless router, and the one with ubuntu wired via switch. Currently connected with Windows 7, other two are connected. Once booted into Ubuntu rest of the computers disconnect?

View 6 Replies View Related

Ubuntu Networking :: New Install Of 9.10 & No Hardwired Internet Connections

Oct 29, 2010

I Installed Ubuntu which was on the laptop before and this install doesn't want to work with a Internet connection. I know my connections is good and the Laptop is fine because it used to have dual boot and windows connected fine.

View 2 Replies View Related

Ubuntu :: Terminal Command To Block All Internet Connections?

Apr 16, 2011

I am trying to write a shell script that will block any outgoing Internet connection, focusing mainly on the HTTP connections.

It would be nice if this command could work on both Mac OSX and Linux.

View 8 Replies View Related

Ubuntu Networking :: Bridging Internet Connections And OpenVPN?

Jul 13, 2011

I'm trying to set up an openVPN server for a small office. I've gotten the server running, and configured keys, and been able to connect to the server. The trouble is that once I connect with my windows machine to the server, I am unable to bridge through to the www. I have combed through so many settings and tutorials, and I am confused as to how to set up the interfaces configuration file. Here's a sample of my routing table:

Code:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.8.0.2 * 255.255.255.255 UH 0 0 0 tun0
XXX.XXX.XXX.0 * 255.255.255.128 U 0 0 0 eth0
10.8.0.0 10.8.0.2 255.255.255.0 UG 0 0 0 tun0
default XXX.XXX.XXX.1 0.0.0.0 UG 100 0 0 eth0

How should I be configuring this so that when I'm in the VPN I can get through to the internet?

View 9 Replies View Related

Networking :: 2 Internet Connections With Shorewall?

Mar 24, 2011

I've got a Ubuntu Server Linux router that I've got 2 internet connections hooked to. One of them is DSL and the other is cable.

What I'd like to do is have everything go through the DSL connection EXCEPT for one desktop, I'd like that system to go through cable for everything.

Here's a diagram of how I've got things set up.

[URL]

I don't have any more expansion slots on the mainboard of my server for another NIC, also I do a lot of file transferring between a laptop and the desktop I want on the cable connection so I don't want that slowing down the rest of my network.

I've got both providers set up in the providers file and I've got everything going through the DSL connection right now. So far everything I've tried has stopped the desktop from connecting out at all.

View 2 Replies View Related







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