Ninjakreborn Posted January 8, 2007 Share Posted January 8, 2007 ok the domain names arewww.myprimerolatino.comwww.theprimerolatino.comwww.primerolatino.netThey are all pointed to the www.vpsland.com hosting domain name serversAfter a lot of research, and a lot of work I finally came up with thisNameVirtualHost *:80<VirtualHost *:80>DocumentRoot c:/wamp/www/primerolatinoServerName www.myprimerolatino.com</VirtualHost>I also studied the difference between name based, and ip based virtual hosting, didn't pick up a lot but I understand the basics.Now when I go to www.myprimerolatino.com it works, it visits that folder, and comes up wiht that page, but everything I try for the other 2 don't work like<VirtualHost *:80>DocumentRoot c:/wamp/www/primerolatinoServerName www.theprimerolatino.com</VirtualHost><VirtualHost *:80>DocumentRoot c:/wamp/www/primerolatinoServerName www.primerolatino.net</VirtualHost>Those come up and say the page cannot be found, what am I doing wrong on this part.I have been doing additional research for awhile, and found some stuff about server alias, and some other things, I tried a few of those, but didn't really have a deep understanding of how it works, how do I know get those other 2 url's to show up. Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted January 8, 2007 Author Share Posted January 8, 2007 Still having problems, anybody? Quote Link to comment Share on other sites More sharing options...
steviewdr Posted January 9, 2007 Share Posted January 9, 2007 www.primerolatino.net or www.theprimerolatino.com are not correctly registered with your ISP or your Domain Seller.From the command prompt - go:ping www.websiteaddress.comIf ping doesn't return a response - then the website isn't registered correctly to begin with. Ask your ISP to correctly setup these two domains their side.-steve Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted January 9, 2007 Author Share Posted January 9, 2007 still seeming to have a problem, can't seem to figure it out, any advice would be appreciated. Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted January 9, 2007 Author Share Posted January 9, 2007 Sorry didn't see your response until just now. I called godaddy.com his domain name registrars, he said they are all pointing to the same domain name servers, so tehy are pointed correctly, however nothing is coming up, I am confused, anymore advice? Quote Link to comment Share on other sites More sharing options...
effigy Posted January 9, 2007 Share Posted January 9, 2007 I think your [url=http://httpd.apache.org/docs/2.2/mod/core.html#virtualhost]VirtualHost[/url] directive needs to be more specific. If they all have[tt] * [/tt]then they all match anything, that's why the first one is working. Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted January 9, 2007 Author Share Posted January 9, 2007 See I don't know much about virtual host, what I have came from studying it for 12 hours, I know very little about it. If I wanted to setup www.myprimerolatino.com (which works) www.primerolatino.net and www.theprimerolatino.com how do I get them all working. Quote Link to comment Share on other sites More sharing options...
effigy Posted January 9, 2007 Share Posted January 9, 2007 The documentation that I linked to clearly states the valid options for this directive. Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted January 9, 2007 Author Share Posted January 9, 2007 I am not a server person, I went over every bit of online documentation I could find. Tutorials, documentation, I am not a server expert, so I don't fully (barely), understand those things. Since I am a programmer I pick them up after some time, that's how I got the first one working, but I am not getting any luck with the second one for some reason? Quote Link to comment Share on other sites More sharing options...
effigy Posted January 9, 2007 Share Posted January 9, 2007 Being a "server person" is of no concern here, really. Programmers read documentation, try it, and eventually (hopefully) understand it; so do "server people."[url=http://httpd.apache.org/docs/2.2/vhosts/]Here[/url] are the docs for virtual hosts: start from scratch. The 2nd sentence immediately brings up a question to ask yourself: "Are my web sites IP-based or named-based?" See if you can determine that and follow their links. Quote Link to comment Share on other sites More sharing options...
Ninjakreborn Posted January 9, 2007 Author Share Posted January 9, 2007 Thanks for the advice.I finally got all 3 working, part of it was the host, they didn't have there end set right, the other part was me. I got the whole thing working now, including ftp installed, thanks for all the advice. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.