Solved

Virtual web server on Linux 2.0.18

Posted on 1997-07-23
2
225 Views
Last Modified: 2010-03-17
I want to install a virtual server on my own Linux box.
I've already configured all the DNS and the HTTPD.
From the Linux box, I'm able to ping my new virtual server by the name and the IP adress but from the WEB it's impossible.

Someone told me to add a few lines in my /etc/rc.d/rc.local, here are the lines:

insmod -o dummy0 /lib/modules/2.0.18/net/dummy.o
ifconfig dummy0 209.29.68.3 up
route add 209.29.68.3 add dummy0
arp -s 209.29.68.3 `cat /etc/ethers` pub

The file /etc/ethers contain the MAC adress of my ethernet board already installed in my Linux box.

After that I try to look the ifconfig result and it told my that the MAC adress for dummy0 was 00:00:00:00:00:00

What could be my problem ?????

Thanks
0
Comment
Question by:christg
2 Comments
 
LVL 2

Accepted Solution

by:
cedric earned 200 total points
ID: 1585723
Hello,
if you have configured your DNS, i can suggest you another thing to try, with much less work, here is my /var/named/pz/master.dns zone file :

@               IN      SOA     bbs.master.fr. root.master.fr. (
                                1       ; Serial
                                28800   ; Refresh
                                7200    ; Retry
                                604800  ; Expire
                                86400)  ; Minimum TTL

@              IN       NS      bbs.master.fr.

localhost      IN        A      127.0.0.1
bbs            IN        A      192.168.0.2
uc1            IN        A      192.168.0.1
www            IN    CNAME      bbs
ftp            IN    CNAME      bbs

In my uc1 machine /etc/resolv.conf
search master.fr
domain master.fr
nameserver 192.168.0.2


And now, from my "uc1" machine, when i enter www.master.fr netscape jump to my web server. No need to install any virtual web or fake IP adress etc.. just use CNAME :^)

Byby.
0
 

Author Comment

by:christg
ID: 1585724
I've tryied your answer but it's not working very well. So instead i reconfigured my DNS to tell to my virtual web server to use the same IP adress of my Linux Box.

Thanks.
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question