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


ADVERTISEMENT

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 :: Moving Raid System To A New Host?

Aug 3, 2011

A while back I successfully set up a software raid (mdadm) install of ubuntu server on a cheap Compaq machine. I'm pretty sure it's running an nForce 430 chipset. Anyway, I put 3 2TB drives in it and set up two arrays: a small raid1 array for /boot and a raid5 array occupying the rest of the drives.

One point of note here is that the raid1 array never seemed to "take hold": the partition is empty, and the system has been booting entirely from the raid5 array. I'm not sure if this is relevant or not: just throwing it in there in case it is.

Anyway, I recently upgraded my desktop PC, and planned to hand down the Q6600 and DG33TL motherboard from it to the server. I did the hardware upgrade, but now the system will not boot. My question is: why.

Boot fails with the following error message:

"No bootable device -- insert boot disk and press any key"

This to me suggests that it's not even getting to the point of running grub2: the mobo itself just isn't finding anything it considers to be bootable.

I've tried all combinations I can think of of configuring the SATA support in the BIOS (modes include IDE, ACHI and RAID, all in combination with UEFI boot enabled and disabled). The system does detect the three drives: it lists them in the BIOS config screen.

I've booted from an ubuntu rescue USB drive and I'm able to see the drives and even assemble the array. I can mount the LVM partitions therein and do what I'd normally be able to do with them.

Everything *seems* fine: it just can't boot.

Grub2 is something of a mystery to me, so I'm not exactly sure what I need to do to get it booting again, if indeed it is a problem with grub.

View 9 Replies View Related

Ubuntu Servers :: Desktop Client - How To Install LAMP On Shared Host

Jan 9, 2010

I have access to a unmanaged dedicated server on the net. I am considering loading Ubuntu Server to this for web/mail/ftp serving. If I install Ubuntu Desktop to my local machine is it possible for me to administer the server using Ubuntu Desktop (using the GUI)? I connect to the net over ADSL. Any guides/advice for setting up Ubuntu as a web/mail/ftp with a key focus on keeping to secure? I know how to install LAMP but as I have root I need to learn a little more than I did when I was on a shared host.

View 1 Replies View Related

Ubuntu Servers :: Shared Folders - Transfer File From Host Machine?

May 27, 2010

I have ubuntu server as a guest in virtualbox and xubuntu as my host os. I have a shared folder on my host that can be accessed by my network. I'm trying to use my server without the need to install a desktop, so how would i transfer a file from my host machine to my ubuntu server guest?

View 5 Replies View Related

Ubuntu Servers :: Unable To Resolve Host URL - Domain Setup / Home Based Web Server

Jan 18, 2011

I have setup a home based web server to host a photo blog for myself and my friends. I will be running wordpress and possibly a phpbb3 forum. I'd like to open this to discuss server administration, server setup, and server maintenance. However, I have a pretty good start on all of those but serving a domain name to my static ip. Here my static ip is 24.10.202.144. I registered a domain through [URL]... It appears that I have the domain working to forward to my ip. However, I am still getting this output file from apache.

[code]...

I have tested the domain name across a few different computers on different ips. It works appropriately. I just want to make sure I have it set correctly on the (apache) server side of things. Then I can get more into Zone Editing etc.

View 9 Replies View Related

Ubuntu :: How To Access Completely Flash Based Websites

Dec 14, 2010

I have been using lynx for sometime specially when on a slow connection. I was wondering if there's a way of accessing flash-based websites (completely flash-based) using lynx?

View 9 Replies View Related

Server :: 4 Websites On Different IP - How To Host Them Using Apache2 Mod_proxy ?

Apr 12, 2010

Dom0 is having public IP. I read a lot of blog and tutorials about name based and IP based hostings and also about mod_proxy. But I am unable to do.

Here is what I am trying to do. I have a webserver on public IP.Which is running Xen on it. There are 4 Guest Operating systems installed on top of Dom0 which are Dom1,Dom2,Dom3,Dom4 These are application servers which are going to serve the requests that come from the main server.Which is Dom0.

All I see is "It works" on all 4 of the hosts. On my LAN on any machine on same subnet if I do [url] of Domu1 message comes

Code:

in browser from LAN gives me a message

Code: It works.

What do I need to do on Dom0 so that requests are forwarded to the appropriate DomUs apache2 is running on all of them including Dom0.Some one suggested me to go for ReverseProxy in Apache2.

View 3 Replies View Related

CentOS 5 :: How To Config Apache2 To Host Websites

Jun 25, 2011

any1 know how to config apache so i can use ServerName at my web browser ?

here is what i am trying to do: i need to host a number of web sites at my mac, for example: hostone.com, hosttwo.com, hostthree.com and etc since i need to host more than one website at the same pc, i use name based virtual hosts so i have hostone at 192.168.0.1:1234 and a servername of "hostone" hosttwo at 192.168.0.1:1235 with a server name of "hosttwo" and etc

my question is , how do i config my local settings, so all of my local network computers can access "hostone" site by type "hostone" at their browser and "hosttwo" site by type "hosttwo" at their browser

View 3 Replies View Related

Fedora :: Moving An LVM Based Virtual Machine

Jul 28, 2010

I'm hoping this is the right sub-forum, if not please move this post. My question is, how would I go about moving an LVM based virtual machine to a different host? Can I just use dd to copy the entire logical volume to a file, move the file to the other host, then again use dd to copy the file onto a newly created logical volume? I'm using KVM by the way.

View 2 Replies View Related

Ubuntu Multimedia :: Moving Sqlitedb To Shared Directory?

May 18, 2011

a lot of ubuntu apps seem to use sqlite3 to store the metadata. some noticable are firefox, shotwell and banshee.

can understand firefox keeping it separate but what if i want to share the music and photos between two users on the same machine.

i've set up a user group (call it "two") that has two users have set up a shared dir under /content/twousers set permissions chgrp & chmod & flicked the sgid bit so that everything is owned by the group.

can then run banshee (or shotwell for that matter) under the primary user (the group owner) and import data (music pictures et al).

try a second user on the same local machine and can see the directories and files - just cant see the metadata in the sqlite db.

any way to get these apps to look for their metadata in the shared directory - doesn't seem like sqlite has a distributed db node mechanism available.

is there any way of assigning a unix evironment variable to do some sort of "directory redirection" - for want of a better term - or an sqlite trigger in the db that connects to the common sqlite?

View 2 Replies View Related

General :: Moving Symlinks Into A Folder Based On Id3 Tags?

Apr 3, 2010

I'm trying to get my music folder into something sensible. Right now, I have all my music stored in /home/foo so I have all of the albums soft linked to ~/music. I want the structure to be ~/music/<artist>/<album> I've got all of the symlinks into ~/music right now so I just need to get the symlinks into the proper structure. I'm trying to do this by delving into the symlinked album, getting the artist name with id3info. I can do this, but I can't seem to get it to work correctly.

for i in $( find -L $i -name "*.mp3" -printf "%h
")
do
echo "$i" #testing purposes

[code]....

I'm trying to mv The Trance Mix 3 Wanderlust - DJ Exortius [TRANCE DEEP VOCAL TECH]@ into the real directory DJ Exortius. DJ Exortius already exists, so it's just a matter of moving it into the correct directory that's based on the id3 tag of the mp3 inside.

PS: I've tried easytag, but when I restructure the album, it moves it from /home/foo which is not what I want.

View 2 Replies View Related

Programming :: Moving Files To Directories Based On Part Of Filename?

Jul 6, 2010

I have a single directory of pairs of files, with the pairs sharing a string as the beginning of the filename:

SF1-27F1492R-clone01_T3_A18_001.ab1
SF1-27F1492R-clone01_T7_A20_002.ab1
SF1-27F1492R-clone02_T3_A19_003.ab1
SF1-27F1492R-clone02_T7_A21_004.ab1
...etc

I need to create a subdirectory for each pair then move the pair into the subdirectory.

I accomplished the first step using:

$find /foo -name '*T3*' -exec mkdir '{}.wrk' ;

I can use a regex to designate the pair and associate the directory, but how do I use regex in a path as the output of a move command?

View 7 Replies View Related

Ubuntu :: Automate Creating Directories Based On File Names And Moving Files Into Them

Apr 30, 2011

I have a bunch of .7z files in a directory, and I need to put each one of them into a separate directory, named after the file (without extention). The command line I use:

Code:
find . -type f | mkdir `sed -e "s:..(.*)...:1:"` ; ls | grep .7z | cp * `sed -e "s:(.*)...:./1/:"`
Copying fails though:

[Code]....

PS. I don't want to use scripts, I want to do it using simple commands and piping.

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

General :: Running Git On Shared Host

Apr 2, 2011

I have a non-sudo account on a shared host. I want to be able to run the git-core for version control.

I have another server that I am using for the git-repo.

How can I install a version of git inside of my user folder and execute that. I have shell access and the server is CentOS/Redhat/Fedora.

View 1 Replies View Related

Server :: Name Based Virtual Host For Apache And Tomcat

Jul 22, 2010

I am having two domains. for ex: www.example1.com and www.example2.com. These two domains need to be hosted under one ip. Yes by configuring name based virtual host we can do that. But, my question is my first domain(www.example1.com) need to be hosted by Apache web server, and my second domain(www.example2.com) need to be hosted by Tomact. Is it possible to configure name based virtual host for a scenario like this.

View 6 Replies View Related

General :: Forward Port For IP-Based Virtual Host To Work?

Mar 22, 2010

Having trouble visualising how IP-Based Virtual Host (with SSL) would work. Here is my vhosts.conf file:

Code:
#Define Name Virtal Host
NameVirtualHost 10.10.0.54:80
#Used to replace the main server host. The log file will reside in /var/log/httpd/error_log

[Code]....

How will it work? I will need to forward port 443 to the 10.10.0.55 interface right? Without doing that, there is no way this is going to work... is there? And that means that I can't run more than 1 ip-based SSL virtual host on one machine because I can't forward 443 to two different interfaces.

Also, do I use internal ip address or external ip address in the <VirtualHost > tag? I only have one static public ip.

View 5 Replies View Related

Server :: Setup Name-based Virtual Host Using COMCAST 10.1.10.* Network?

Sep 29, 2009

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

View 4 Replies View Related

Software :: RHEL 5 Apache Name Based Virtual Host Not Working

Jun 16, 2011

I have setup apache webserver on RHEL5 working fine for months now. Next task is to add another domain name to the webserver using the same IP address. I have been trying to set up apache name based virtual host for the past several days without success. Each time I try elinks [URL] it went to the main page sales.example1.com. Main page sales.example1.com is on DNS but 2nd domain [URL] is not created on DNS yet. I just doing testing first on /etc/hosts.

10.145.13.10 sales.example1.com sales
10.145.13.10 www.exampletst.com

I have tried googling, search forum, and read documentation. I have checked my httpd.conf file several times but there must be some simple step or config error that I might miss:

Apache version is 2.2.3. Output of my httpd.conf file:-
NameVirtualHost *:80
# Default Virtual Host
<VirtualHost *:80>
ServerName sales.example1.com
DocumentRoot /var/www/html
DirectoryIndex index.html index.shtml index.php
</VirtualHost>

<VirtualHost *:80>
ServerName www.exampletst.com
DocumentRoot /var/www/virtual/tours
ErrorLog /var/log/httpd/tours_error_log
CustomLog /var/log/httpd/tours_access_log common
DirectoryIndex index.html index.shtml
<Directory "/var/www/virtual/tours/">
Options Indexes FollowSymLinks Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>

View 11 Replies View Related

General :: RHEL5 Multi-host Shared Storage ?

Mar 4, 2010

Ive been asked to investigate presenting the same SAN LUN to two or more RHEL5 hosts. The hosts are providing independent applications so theyre not clusters from an application perspective. The shared storage location would be used as a common area for imports/exports. Were hoping to reduce file transfer times between the hosts by eliminating the need to copy the files between two storage locations. Some of our hosts run Advanced Server and some are standard. Is there a file system that I can use that will allow multi-host access without running advanced server with clustering services on all hosts?

View 2 Replies View Related

Debian Configuration :: ProFTPd Configuration - Use To Host MySQL Databases And A Few Websites

Nov 18, 2010

I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".

It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.

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

Networking :: C Source Code For Scanning A Shared Directory Of A Host

Mar 31, 2011

c source code for scanning a shared directory of a host ?

View 3 Replies View Related

Fedora :: Access Shared Folders In Virtual Box (Host OS Is Windows7 And Guest OS)

Apr 15, 2011

I am trying to access shared folders in Virtual Box with Host OS being Windows7 and Guest OS is Fedora. Did anyone face a similar problem? I have been going through many solutions but none of them worked out. I am able to keep the required folders in Shared Folders making them Auto-Mount and Permanent. I tried to install Guest Additions from Devices, but I am not sure how to install the Guest-Additions software in Fedora. how to proceed so that I can access files in my shared folder.

View 1 Replies View Related

Networking :: Samba Shared Printer: Install The Driver In A Windows Host?

Oct 20, 2010

I have found that there are certain things on the web that I need to print, that simply refuse to work under linux. I have a samba printer server on one of my Slackware boxes and an M$ XP vm under Vbox that can access the server and see the printer. The only problem that I have is that it expects to download a driver from the server which isn't available and the HP driver installer won't install if it doesn't detect the printer. Short of relocating the printer to install the driver, does anyone know how to get the driver installed on the XP host? This is so much easier with my Slack boxes and CUPS!

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







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