ok still can't see my host from outside , any ideas pls
What I did :
installed XAMPP last version with installer in c:\xampp\xampp
created c:\www\main and saved a file here called index.html
I didn't set up passwords, for XAMPP and MYSQL security, cause that's not what I'm interested right now, I just wanna see it from outside.
I setup a static IP for the computer I have the server apache running on 192.168.1.102 accordind to instructions I found on linksys website
" 1. Click on the Start menu, and then click on the Run option.
2. When the “Run” window appears, input control ncpa.cpl into the “Open” field.
3. After the “Network and Dial up Connections” or “Network Connections” window opens, right click on the Local Area Connection or Wireless Network Connection which controls the connection to the router.
4. After the “Local Area Connection Properties” or the “Windows Network Connection Properties” window appears, click on Internet Protocol (TCP/IP) then click on the Properties button.
5. Once the “Internet Protocol (TCP/IP) Properties” window opens, change the option from “Obtain an IP address automatically” to Use the following IP address. Set the options under “Use the following IP address” and “Use the following DNS server addresses” to the following:
* IP: 192.168.1.20 (If there are multiple computers being setup with static IP's, then the next computer would be .25, and next would be .30, etc)
* Subnet Mask: 255.255.255.0
* Default Gateway: 192.168.1.1
* Preferred DNS server: 192.168.1.1
Click OK then OK or Close."
Edit : DNS servers setting here wasn't correct , I had to do it like that
start ... run... typed in cmd.exe , then typed ipconfig /all I wrote all info on a piece of paper and then I set it up correctly
hosts file
127.0.0.1 localhost
192.168.1.102 localhost
192.168.1.102 kbgamers.ath.cx
httpd-vhosts file
<VirtualHost 127.0.0.1:80>
ServerName localhost
DocumentRoot "C:/xampp/xampp/htdocs"
</VirtualHost>
NameVirtualHost *:80
<VirtualHost *:80>
ServerName kbgamers.ath.cx
ServerAlias
www.kbgamers.ath.cx
DocumentRoot "C:/www/main"
<Directory "C:/www/main">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
After that I did settings in my linksys router
so I opened port 80 for TCP and UDP for 192.168.1.102
and port 443 for TCP and UDP for 192.168.1.102
am I missing anything ?
oh forgot to say I have disabled windows firewall on my computer hoping this is the problem but it's not windows firewall. I can see the index.html page from my LAN but nothing from outside.