Jump to content

Configuration of Apache to work the php webpage on Intranet

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1
newphpcoder

newphpcoder

    Programming Professional

  • Members
  • PipPipPipPipPipPip
  • 479 posts
Good day!

I am used the ff: to up my webpage

Windows Server 2003 32 Bit
Xampp 1.7.1

My folder that consist of my php file was on the htdocs folder. When I run http:\\localhost\MYFOLDER\index.php
My webpage was appear or run. But I want to happen is the client will only input the url like this : site.dlp.ph

I dont know how can i do that,, because i'm not familiar with the apache.

I want that the other computer can access my webpage using intranet.

I tried to used virtual host like this:

<Virtual Host 182.10.10.101>
Document Root "C:\xampp\htdocs\MYFOLDER\index.php"
Server Name dllp.ph
</Virtual Host>

When I run the http:\\182.10.10.101
the output is the webpage of xampp

I also create a DNS forward lookupzone but it did not work.

I hope somebody can help me.

Thank you

#2
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
at first, root shall be a directory, not a file.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#3
newphpcoder

newphpcoder

    Programming Professional

  • Members
  • PipPipPipPipPipPip
  • 479 posts

Orjan said:

at first, root shall be a directory, not a file.
So what configuration should i need to do..?I'm sorry I'm not familiar in using apache or xampp to up my webpage in a server

#4
Orjan

Orjan

    Writes binary right handed and hex left handed

  • Moderators
  • 3,299 posts
the easiest way is actually to use the shipping config and just rename the index.php in the htdocs to something else and create your own index.php with your site...
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall

#5
newphpcoder

newphpcoder

    Programming Professional

  • Members
  • PipPipPipPipPipPip
  • 479 posts

Orjan said:

the easiest way is actually to use the shipping config and just rename the index.php in the htdocs to something else and create your own index.php with your site...

I'm not familiar with shipping config. I have index.php in my folder that consist of my wepages