virtual host on LAN +++
Posted by: kathierry2106 (196.44.244.---)
Date: March 17, 2008 01:38PM

hello 2'all
I wanna help on virtual host on LAN

I configure under

--------------------------------------------------------------------
httpd.conf on line
ServerName localhost:80
I add
ServerName www.MyWebsiteName.com:80

---------------------------------------------------------------------
and under wamp\apache2\conf\extra\http-vhosts.conf
<VirtualHost *:8080>
ServerAdmin webmaster@dummy-host. www.MyWebsiteName.com
DocumentRoot /www/docs/dummy-host. www.MyWebsiteName.com
ServerName dummy-host.www. www.MyWebsiteName.com
ServerAlias www.dummy-host. www.MyWebsiteName.com
ErrorLog logs/dummy-host.localhost-error_log
CustomLog logs/dummy-host.localhost-access_log common
</VirtualHost>

-------------------------------------------------------------------------
am using O.S Win XP
under windows\system32\drivers\etc\hosts

under the line
127.0.0.1 localhost

I add
Pc:IP www.MyWebsiteName.com

--------------------------------------------
if i go to the web browser
enter the address
www.MyWebsiteName.com

it open my www.MyWebsiteName.com
but while i try to enter the same address on computer 2 in LAN
it'aint open the address

************************
any tips or help wil be very kind from u

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have also another problem under the space

In phpmyadmin am using
the filed to upload file in the server
MediumBlog or LongBlog
the phpmyadmin give me error of not enough space

Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1220760 bytes) in C:\wamp\phpmyadmin\libraries\relation.lib.php on line 732

how to remove that error ???

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: yfastud (Moderator)
Date: March 17, 2008 01:49PM

Check Setup Virtual Host guide on my personal website

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: goggles (---.ody.ca)
Date: March 17, 2008 01:53PM

Hello,

I'm now having the same issue. That is accessing my PC from another workstation on LAN.
yfastud to be perfectly honest with you, your guide on virtual host does not do anything. I followed the steps and still nothing.
Any other suggestions would be greatly appreciated.

help?

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: yfastud (Moderator)
Date: March 17, 2008 02:45PM

The most common error people got when following my guides is people already knew something about wamp, including this package or any other package, and they just glance through my guides very quick, and after finished, they might thought that the guides are not bad and decide to give it a try, then they begin to do it w/o actually follow the guide step by step, then might miss a step or 2

Anyway, here are some success among too many others:

[forum.wampserver.com]

[forum.wampserver.com]

[forum.wampserver.com]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: goggles (---.ody.ca)
Date: March 17, 2008 03:02PM

Hey yfastud,
the problem that I have, is I can access my Wampserver config page from another computers by typing in 'intranet' into the web-browser (already configured the DNS). When I click on phpmyadmin or sqlitemanager on that page (the aliases) I get to those pages from other computers. Its just when I click on my folder (my site folder) in the Your projects heading I get a dead link. I'm pretty sure its a configuration or permission issue I just don't know where to go to change it. The virtual host guide just defines how to connect to wamp from other computers, which I was successful at doing.... Its just my folder that I can't get to run on other workstations. That is what I need help with.

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: yfastud (Moderator)
Date: March 17, 2008 03:48PM

I assume your vhost file is ok, so I'd like to see the content of all your host files including computer has wamp installed and other computers/laptops. Because they're all local to you only, you can post the real content here

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: goggles (---.ody.ca)
Date: March 17, 2008 04:01PM

Hey yfastud,
I did not adjust any host files on other workstations. I made the necessary changes on my DNS server to point to my workstation, which has a static IP. (it works it connects)

The contents of my http-vhosts file is
*****************************************
NameVirtualHost *:80

<VirtualHost *:80>
DocumentRoot C:/wamp/www/wikka (wikka is the name of the folder that holds my site)
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www/
</VirtualHost>


I did not include the entry for sub domains (don't need those)

I could be making some sort of mistake in the first part of this entry.
As you can see I don't have an entry for ServerName or ServerAlias.
Do I need one?
I mean I tried this at home on the weekend and I don't have a domain at home, but I still had the some problems as i'm having here at work.

help please

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: goggles (---.ody.ca)
Date: March 17, 2008 04:06PM

Just another comment in regards to the post above...

yfastud, one thing I should mention is when I type in "intranet/phpmyadmin' on a workstation that does not have wamp installed (not the host) it goes to that site (no problems).
But if I type in "intranet" or "intranet/wikka' is changes it to localhost in the addressbar and dead link.... why is it doing that??

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: yfastud (Moderator)
Date: March 17, 2008 06:35PM

Hey goggles,

First thing first, if you did NOT follow my guide at all, please don't post bad comment about it, especially when too many people already succeeded. Some might have problem because of either typo or isp's strict rules or some other reasons but not from the guide itself. I think you own me an apology for this.

Second, too many people keep ask same question and the instruction is not short, in order to avoid repeating long story over and over and also for user's conveniences, I had to build those guides on my personal website, and if you reach the end of that guide, you will see my domain and subdomains are based on that guide even they all have proper DNS configurations, I still had to do all those steps in order to gain access w/i my LAN, so I suggest you should spend a little time to follow it step by step, then ask question if still have problem

Wow, I'm not normal to post quite long like this, maybe it's time to go and grab a beer or something cold ;-)

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides



Edited 1 time(s). Last edit at 03/17/2008 06:36PM by yfastud.

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: goggles (---.ody.ca)
Date: March 17, 2008 06:47PM

hey yfastud,
sorry..
Its just really getting to me arrrrrr ... I can't get it going.

if I follow all your steps and if I don't have a domain... what would i put in the httpd_vhosts.conf file.
In the section of Servername and ServerAlias

Please help

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: yfastud (Moderator)
Date: March 17, 2008 07:13PM

Very simple, just skip ServerAlias and put your local (fake) domain(s) in place of ServerName, for example:
NameVirtualHost *:80

<VirtualHost *:80>
ServerName wikka
DocumentRoot C:/wamp/www/wikka
</VirtualHost>

<VirtualHost *:80>
ServerName localhost
DocumentRoot C:/wamp/www
</VirtualHost>

BTW, I saw some people try to make their local fake domain like real, I mean including .com .net, so on, theory, it should works but sometimes browser would try to find real url out there and would return unfound result :-(

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: goggles (---.ody.ca)
Date: March 18, 2008 04:57PM

hello yfastud..

i just wanted to let you know that I got this wikki up and running. it turns out that the problem was in one of the config files in the wikki folder.

Thanks for all your help.

i do have one other problem now.... When accessing my wiki(site) sitting on my comptuer from another computer within the LAN it takes a long time... Why is that... what needs to be changed to speed this up. My windows firewall is not up and running

Options: ReplyQuote
Re: virtual host on LAN +++
Posted by: yfastud (Moderator)
Date: March 19, 2008 01:53AM

Did you follow my guide step by step? I don't have that problem at all

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.