?
Solved

Virtual web server on Linux 2.0.18

Posted on 1997-07-23
2
Medium Priority
?
234 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 600 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

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

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…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Planning to migrate your EDB file(s) to a new or an existing Outlook PST file? This video will guide you how to convert EDB file(s) to PST. Besides this, it also describes, how one can easily search any item(s) from multiple folders or mailboxes…
Suggested Courses
Course of the Month8 days, 20 hours left to enroll

621 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