cann't access web site using other ip on a same LAN

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

cann't access web site using other ip on a same LAN

Postby suvarna » 20. December 2013 07:10

Hello to all

I m newbie to apache server. I have created a web site using apache server with the help of " https://www.dropbox.com/s/zxtvgi2ifg88h2d/www.dedoimedo.com-apache-web-server-lm.pdf " tutorial. I m able to access my web site on my ip address bt unable to access it using other ip of linux system. I m CentOS user. I can ping that ip with my ip. I have edited files as described in the tutorial. Where i m going wrong :?:
suvarna
 
Posts: 3
Joined: 20. December 2013 06:52
Operating System: Linux (CentOS)

Re: cann't access web site using other ip on a same LAN

Postby Nobbie » 20. December 2013 13:18

What you mean by "other Ip"? Please describe more precisely.

And please show us your configuration, i definately will not read that tutorial (and it defintaly does not show me, which part you followed).
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: cann't access web site using other ip on a same LAN

Postby suvarna » 20. December 2013 13:50

Other ip means ip address of another linux pc.

I have edited /etc/httpd/conf/httpd.conf file like this:-
Add server name as described in tutorial's section 2 & fig 3.

#ServerName www.example.com:80
ServerName www.TestMerchant.com:80

make changes in /etc/hosts file
Described in section 2 & fig 5
127.0.0.1 localhost.localdomain localhost
::1 localhost6.localdomain6 localhost6

192.168.1.148 www.TestMerchant.com



Then allow other ip address to make web site accessible.
Described in section 3 & fig 20

#Controls who can get stuff from this server.
#
#Order allow,deny
#Allow from all

Order deny,allow
Deny from all
Allow from 192.168.1.26

</Directory>

Where i m going wrong?
suvarna
 
Posts: 3
Joined: 20. December 2013 06:52
Operating System: Linux (CentOS)

Re: cann't access web site using other ip on a same LAN

Postby suvarna » 20. December 2013 14:23

I have solved the issue. I edited firewall configration make changes WWW(HTTP) 80/tcp enable. Now all is working fine. Thank you so much for all the helper to gave attention on my issue.

Thanks alot...
suvarna
 
Posts: 3
Joined: 20. December 2013 06:52
Operating System: Linux (CentOS)


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 15 guests