how do I view my Apache website

Problems with the Windows version of XAMPP, questions, comments, and anything related.

how do I view my Apache website

Postby obiwankenobi » 20. September 2011 22:05

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?
User avatar
obiwankenobi
 
Posts: 6
Joined: 20. September 2011 22:01

Re: how do I view my Apache website

Postby obiwankenobi » 20. September 2011 22:06

ps, (search isn't working for me?)
User avatar
obiwankenobi
 
Posts: 6
Joined: 20. September 2011 22:01

Re: how do I view my Apache website

Postby Nobbie » 20. September 2011 22:21

What do you mean by "my apache root"? Did you install anything anywhere?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: how do I view my Apache website

Postby obiwankenobi » 20. September 2011 22:27

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/
User avatar
obiwankenobi
 
Posts: 6
Joined: 20. September 2011 22:01

Re: how do I view my Apache website

Postby Nobbie » 20. September 2011 22:31

You did not answer my question: Did you install anything anywhere?
Nobbie
 
Posts: 13183
Joined: 09. March 2008 13:04

Re: how do I view my Apache website

Postby obiwankenobi » 20. September 2011 23:05

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?
User avatar
obiwankenobi
 
Posts: 6
Joined: 20. September 2011 22:01

Re: how do I view my Apache website

Postby Sharley » 21. September 2011 00:55

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 :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: how do I view my Apache website

Postby obiwankenobi » 21. September 2011 01:28

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
User avatar
obiwankenobi
 
Posts: 6
Joined: 20. September 2011 22:01

Re: how do I view my Apache website

Postby Sharley » 21. September 2011 01:36

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.
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: how do I view my Apache website

Postby obiwankenobi » 21. September 2011 01:38

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.
User avatar
obiwankenobi
 
Posts: 6
Joined: 20. September 2011 22:01


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 91 guests