Page 1 of 1

Home Virtual Server

PostPosted: 18. January 2005 08:42
by trevor4370
I would like to set up a website that can be accessed via the Internet on my office computer. It is running Xammp for windows and localhost runs with no problems.

I have an adsl connection and it is through a D-Link dsl-504 router and firewall.

I do not really know where to start, so just a few pointers would be a help (inc words of encouragement :-) )

When I access my ip address via the web (http://ip address) I get the Router admin page. I would like to get a website instead ..... Where do I start, where can I go to get info on this?. I really don't know much about it, but would really like to know more .... any help appreciated.

Trevor

PostPosted: 18. January 2005 11:30
by Wiedmann
Read your router manual (port-forwarding, virtual server).

PostPosted: 18. January 2005 23:37
by trevor4370
Thank you for this, will read back to front.

Thanks again

Trevor

PostPosted: 19. January 2005 05:56
by trevor4370
YES ..... I now have it running. It can be assessed on the Internet outside the network .... but for some reason the graphics do not display. I tried http://community.apachefriends.org/f/viewtopic.php?t=9584. any suggestions?

Trevor

PostPosted: 20. January 2005 02:00
by trevor4370
Just an update of my problem ...... I found the path to the images displayed on the site were http://localhost/....../....../....., they should be http://ip address/..../..../....

When I go to the images path using the ip address instead of the localhost that image is displayed. Not knowing anything about Apache or this type of thing ..... can someone please give me some direction on where I can make the necessory changes.

I changed "ServerName localhost" to "ServerName my ip address". Did not make any difference ...... should I be changing anything eles?

Trevor

PostPosted: 22. January 2005 11:44
by No-Sense
the best way to solve problekms with the images is not to include the complete internet path. instead use something like this
Code: Select all
image.jpg
../image.jpg
../../image.jpg

when you do this and you change you internet adres you won't have any problems.

PostPosted: 22. January 2005 11:46
by No-Sense
just change this in you html file. just experiment with it.
many of the know html editors do link to images this way

PostPosted: 24. January 2005 21:59
by trevor4370
The thing is I am using a Content management System .... Mambo. I think I have fixed the problem though.

In the config I changed

$mosConfig_live_site = 'http://localhost/cvc';

To

$mosConfig_live_site = 'http://ip address/cvc';

Fixed the problem for viewing via the Internet, but locally I can not see the graphics :-). I think that is all that can be done. It is not Apache or Xampp, it is the way that Mambo does things.

Trevor