Page 1 of 1

how do I view my Apache website

PostPosted: 20. September 2011 22:05
by obiwankenobi
Hi,

I'm new to XAMPP but not new to Apache, how do I view my apache root and not the xampp startup page when I direct my domain to my apache server?

Re: how do I view my Apache website

PostPosted: 20. September 2011 22:06
by obiwankenobi
ps, (search isn't working for me?)

Re: how do I view my Apache website

PostPosted: 20. September 2011 22:21
by Nobbie
What do you mean by "my apache root"? Did you install anything anywhere?

Re: how do I view my Apache website

PostPosted: 20. September 2011 22:27
by obiwankenobi
I can view the "it works!"

here -

file:///C:/xampp/htdocs/index.html

How can I view it when I view my ip 192.168.1.17 (this will be my ip address)

all I get when I view http://localhost/ is this

http://localhost/xampp/

Re: how do I view my Apache website

PostPosted: 20. September 2011 22:31
by Nobbie
You did not answer my question: Did you install anything anywhere?

Re: how do I view my Apache website

PostPosted: 20. September 2011 23:05
by obiwankenobi
Nobbie wrote:You did not answer my question: Did you install anything anywhere?


What do you mean install anything anywhere? I'm new to XAMPP and don't know what you mean.

I've installed XAMPP, apache is a web server and normally it directs straight away to the "it works!" when installed.

What do I have to install extra?

Re: how do I view my Apache website

PostPosted: 21. September 2011 00:55
by Sharley
First read the readme_en.txt file in the xampp folder.

After starting Apache and MySQL in the XAMPP control Panel you would go to http://localhost to test the XAMPP installation by selecting your language then exercising the demos and setting any security settings you wish to make in the left menu panel.

Then replace (delete) the 2 index files index.php and index.html in the htdocs folder with the index file and folders of your web site.

Then you once again type http://localhost in the browser and you should now see your web site.

Once that is working correctly then try and use your LAN IP address from another PC on your LAN.

To access the XAMPP Welcome page again you would simply type in your browser:
http://localhost/xampp/index.php

Let me know please how you get on or if you get stuck at the next hurdle.

Good luck :)

Re: how do I view my Apache website

PostPosted: 21. September 2011 01:28
by obiwankenobi
Sharley wrote:First read the readme_en.txt file in the xampp folder.

After starting Apache and MySQL in the XAMPP control Panel you would go to http://localhost to test the XAMPP installation by selecting your language then exercising the demos and setting any security settings you wish to make in the left menu panel.

Then replace (delete) the 2 index files index.php and index.html in the htdocs folder with the index file and folders of your web site.

Then you once again type http://localhost in the browser and you should now see your web site.

Once that is working correctly then try and use your LAN IP address from another PC on your LAN.

To access the XAMPP Welcome page again you would simply type in your browser:
http://localhost/xampp/index.php

Let me know please how you get on or if you get stuck at the next hurdle.

Good luck :)


Thanks for that, I did it.

I don't like to delete anything until I know what it is doing.

Ob1

Re: how do I view my Apache website

PostPosted: 21. September 2011 01:36
by Sharley
obiwankenobi wrote:I don't like to delete anything until I know what it is doing.
Then you would know that to overcome that obstacle all you need do is rename the original file or folder to allow you to add your own files and folder until you are satisfied that the new additions meet your needs.

Good luck and now I suppose you can move forward.

Re: how do I view my Apache website

PostPosted: 21. September 2011 01:38
by obiwankenobi
Sharley wrote:
obiwankenobi wrote:I don't like to delete anything until I know what it is doing.
Then you would know that to overcome that obstacle all you need do is rename the original file or folder to allow you to add your own files and folder until you are satisfied that the new additions meet your needs.

Good luck and now I suppose you can move forward.


Yes, that is what I did. I renamed the folder htdocs_original and created new htdocs.

(I just didn't know where to start)

I know with Apache that if 1 digit or symbol is missed it won't work.

Thanks.