Please someone help. I am really new to this, but I have been working on this for days and I have restarted several times... I have set up Apache 2.4 on my Windows desktop to run a web server to host my website, and I am unable to access it correctly.
I can only access by doing the following:
- typing localhost on host device
- typing the private IPv4 address on the host device
- typing the private IPv4 address from another device connected to the network (wired or wirelessly)
I cannot access:
- by typing in the domain name, either on the network or off (ERR_CONNECTION_TIMED_OUT)
Configuration:
- I have an Arris SB6190 modem with a Netgear R6900v2
- Installed apache 2.4.57 as a service on Windows 11
- Changed nothing in httpd.conf except for changing Listen to "80", and changing servername to my domain name
- port forwarded port 80 to my host IP address
- turned off all Windows Firewalls
- set my domain name DNS record "A" to go to my public IP address
- Apache is listening on port 80 according to command line check
- called the ISP (optimum), they said they have no blocking mechanisms in place
- port checker says port 80 is closed
- DNS propogation websites say the DNS is fully propogated
- I have a dynamic public IP address (no business account), but the fully propogated IP in DNS records is currently still active for my network
- I ensured Apache is running as a service in Windows Services, and there are two Apache processes in task manager with the same PID as the address listening on port 80
- No syntax errors in httpd.conf according to command line check
- I can change the index.html file and it will change the appeance of the "site" using the origrinal htdocs directory
- I plugged the computer directly into the modem and there are no changeable settings like firewall or anything
If you can help I would appreciate it a lot and I can get more information if needed.
Here is some command line information I have so far:
Active Connections
Proto Local Address Foreign Address State PID
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 7172
[httpd.exe]
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.17 25
Persistent Routes:
None
Server version: Apache/2.4.57 (Win64)
Apache Lounge VS17 Server built: May 9 2023 16:01:09
Server's Module Magic Number: 20120211:127
Server loaded: APR 1.7.4, APR-UTIL 1.6.3, PCRE 10.42 2022-12-11
Compiled using: APR 1.7.4, APR-UTIL 1.6.3, PCRE 10.42 2022-12-11
Architecture: 64-bit
Server MPM: WinNT
threaded: yes (fixed thread count)
forked: no
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/apache"
-D SUEXEC_BIN="/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error.log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
C:\Apache24\bin>httpd -M
Loaded Modules:
core_module (static)
win32_module (static)
mpm_winnt_module (static)
http_module (static)
so_module (static)
actions_module (shared)
alias_module (shared)
allowmethods_module (shared)
asis_module (shared)
auth_basic_module (shared)
authn_core_module (shared)
authn_file_module (shared)
authz_core_module (shared)
authz_groupfile_module (shared)
authz_host_module (shared)
authz_user_module (shared)
autoindex_module (shared)
cgi_module (shared)
dir_module (shared)
env_module (shared)
include_module (shared)
isapi_module (shared)
log_config_module (shared)
mime_module (shared)
negotiation_module (shared)
setenvif_module (shared)