/    Sign up×
Community /Pin to ProfileBookmark

Configuration of Apache to work the php webpage on Intranet

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:localhostMYFOLDERindex.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:

[code]
<Virtual Host 182.10.10.101>
Document Root “C:xampphtdocsMYFOLDERindex.php”
Server Name dllp.ph
</Virtual Host>
[/code]

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

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@eval_BadCode_Nov 27.2010 — You're wanting to give your server a hostname other than 182.10.10.101?

Or a subdomain called site?

site.dlp.ph == 182.10.10.101:80?


-----

C:WindowsSystem32driversetchosts

Add this line:
---------------



182.10.10.101 site.dlp.ph
Copy linkTweet thisAlerts:
@rhodaroseauthorNov 30.2010 — You're wanting to give your server a hostname other than 182.10.10.101?

Or a subdomain called site?

site.dlp.ph == 182.10.10.101:80?


-----

C:WindowsSystem32driversetchosts

Add this line:
---------------



182.10.10.101 site.dlp.ph[/QUOTE]


Is it when i try this when i put in the url this site.dlp.ph my website was run which is index.php?
×

Success!

Help @rhodarose spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...