Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    dns is not resolving

    Quote Originally Posted by alien View Post
    Thanks for helping me nikhil. I did some more research and I'm using zoneedit as my dns now. Setting up my own dns is too complicated for me, I gave up. But I am having problems with my virtual hosts now. I'm running name virtual host on my linux box. I set up zoneedit to point to the same ip address for both domains. I upated my httpd.conf to include:

    NameVirutalHost myiphere
    <VirtualHost myiphere>
    DocumentRoot /var/www/domain1
    ServerSignature email

    <VirtualHost myiphere>
    DocumentRoot /var/www/domain2
    ServerName Welcome to DOMAIN2.COM
    ServerSignature email

    But everytime I point to domain1 or domain2 on the browser, I get the default Test Page. It doesn't matter what I put in the /var/www/domain1 or domain2 directory. I always get the Test Page. I try changing my index.html to index.htm or index.php.. or whatever. I don't know why is not resolving to my domain1 host or domain2 host. I even went out to buy a book, couldn't find explanation there. Did search on setting up virtual host on the net... read all the How-tos and docs regarding virutal host... I just don't see what else I need to do. When I try putting the * in place of my IP, I get error on starting the httpd. Please read my other post for the exact error. Please help. I really don't know what else to do.
    I am also having the same problem that my dns is not resolving those virtual hosts kindly help me, Here is my dns (zone file ),
    $TTL 86400
    @ IN SOA (
    001 ; serial
    28800 ; restart
    14400 ; retry
    3600000 ; expiry
    86400) ; TTL
    IN NS
    IN MX 10 IN A IN A IN A
    www IN CNAME fed6
    mail IN CNAME fed6

    I am doing this in fedora core 6 please help I am new to linux

  2. #2
    Linux Guru Lazydog's Avatar
    Join Date
    Jun 2004
    The Keystone State
    What is the domain of your network?
    Is it registered or something that you are just using?
    Looking at your zone file you are mixing it looks like.


    The adventure of a life time.

    Linux User #296285
    Get Counted

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts