You're welcome! Was it just the document root and indexes that were incrorrect or was there DNS stuff too?
Hello Peter and the rest of the good guys who are helping,
FINALLY, it's working! Thank you guys thank you! Oh, I am so happy!!!!! I made the other website function correctly too in this virtual host.
I tried this code:
VirtualHost *:80>
VirtiualHost (IP):80>
Both codes worked.
The problem actually, is the coding for the right path for the DocumentRoot:
I added this code:
# Indexes + Directory Root.
DirectoryIndex index.html
DocumentRoot /home/www/www.whitehorse12.com/
I hope this is a good guide for the rest of the guys here. I would say that I just crossed the 7th river I still have a few more rivers to cross.... :-)
Again, thank you all!. I will post some more questions if I encounter some errors.
Have a great night and enjoy the rest of your weekend!
You're welcome! Was it just the document root and indexes that were incrorrect or was there DNS stuff too?
I forgot, yeah, there was one part of DNS that was misconfigured. I forgot to add our own reverse nameserver's static IP in addition to zoneedit's nameserver static IP. Then I added some extra codings with httpd.conf. The codings that previously I mentioned.
With this coding:
# Indexes + Directory Root.
DirectoryIndex index.html (you need to add index.htm, index.php or asp or other language to make it work)
DocumentRoot /home/www/www.example.com/ (or wherever you will place your files )
Right now, I am playing around on which files to downloaded to use for the website. I am having problems installing files that involves the Mysql though. I think this is another topic to discuss. Right now, the issue DNS issue is resolved. I will post some DNS issues again if I encountered some.
I am just happy that our DNS server is working properly. I know DNS is not easy, even the author who writes about DNS said so.
Thanks again.
Good luck on your next Linux adventure!
Bookmarks