How to do it....?
Posted by: sempu (---.am.szczecin.pl)
Date: September 18, 2006 04:48PM

my english is not good but i will try.

i have my own 2 difrend web adress it is configurated to my ip computer

and i have problem

can i have two webpages configure by my wamp serwer

i do not do you will understand me:
2 adresses http
2 diffrent web pages
1 computer
1 ip
1 wamp

how to do it?

Can anybody help me?

p.s. i'm beginer so please step by step

Options: ReplyQuote
Re: How to do it....?
Posted by: sempu (---.am.szczecin.pl)
Date: September 18, 2006 04:51PM

i forgot these 2 web pages are working now on localhost on my wamp on my computer

thanx for help

Options: ReplyQuote
Re: How to do it....?
Posted by: yfastud (---.cable.mindspring.com)
Date: September 19, 2006 01:03AM

For local network access, put site1.html in wamp/www/site1 and site2.html in wamp/www/site2. And access them like this:

[localhost] will see site1.html

[localhost] will see site2.html

For worldwide access, setup Virtual Host in wamp/apache2/conf/httpd.conf with the basic code below:

NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot "C:\wamp\www\site1"
ServerName your_web_ip/site1
</VirtualHost>

<VirtualHost *>
DocumentRoot "C:\wamp\www\site2"
ServerName your_web_ip/site2
</VirtualHost>

And access them like this:

[your_web_ip] will see site1.html

[your_web_ip] will see site2.html

Remember, the code above is just the basic for reference only, you should have a better setup. In addition, I'm not sure it's the right setup for using ip or not. Have to test yourself.

Hope this help.

Options: ReplyQuote
Re: How to do it....?
Posted by: sempu (---.101.am.szczecin.pl)
Date: September 19, 2006 12:37PM

i do not want to do it by ip.

i have two domain:
www.site1.com
www.site2.com

in my wamp/www i have two catalogs
/site1/
/site2/

and now when somebody writes www.site1.com i want serwer to see that and open catalog /site1/

Can you write me what to do?
step by step where to copy something and paste ok?
please

sorry for my english ;-)

Options: ReplyQuote
Re: How to do it....?
Posted by: sempu (---.101.am.szczecin.pl)
Date: September 19, 2006 12:39PM

my webpages are done in joomla (ex mambo)

Options: ReplyQuote


Sorry, only registered users may post in this forum.