Jump to content

domains for apache


Ninjakreborn

Recommended Posts

ok the domain names are
www.myprimerolatino.com
www.theprimerolatino.com
www.primerolatino.net
They are all pointed to the www.vpsland.com hosting domain name servers

After a lot of research, and a lot of work I finally came up with this

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot c:/wamp/www/primerolatino
ServerName 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/primerolatino
ServerName www.theprimerolatino.com
</VirtualHost>

<VirtualHost *:80>
DocumentRoot c:/wamp/www/primerolatino
ServerName 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.
Link to comment
https://forums.phpfreaks.com/topic/33390-domains-for-apache/
Share on other sites

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.com

If 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
Link to comment
https://forums.phpfreaks.com/topic/33390-domains-for-apache/#findComment-156557
Share on other sites

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?
Link to comment
https://forums.phpfreaks.com/topic/33390-domains-for-apache/#findComment-156634
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/33390-domains-for-apache/#findComment-156642
Share on other sites

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?
Link to comment
https://forums.phpfreaks.com/topic/33390-domains-for-apache/#findComment-156653
Share on other sites

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.
Link to comment
https://forums.phpfreaks.com/topic/33390-domains-for-apache/#findComment-156681
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.