Yasir Arfat
asked on
Apache web server
I have configured Apache on Windows 7 machine to run our digital singage media on multiple screens which I got it working fine but I have got in to another problem I can't get to our own website now, every time we type our Web address www.example.com it takes us to Apache server page can you guy's please tell how to resolve this problem.
ASKER
How can i do this in windows though your suggestions seems like linux solution if I am not wrong thanks.
No Apache for Windows also uses configuration text files with the same syntax.
ASKER
As you mentioned to direct Apache to correct folders Our website www.example.com is not sitting on our Apache Pc server it hosted with hosting company, the only thing we are using Apache to run our signage media that folder is configured correctly with Apache.
You didn't mention anything about multiple servers, and even multiple locations.
You have to elaborate this now, like this:
website1 = hosted by xxx = linux server with IP nr xx.xx.xx.xx
website 2 = local apache = folder xxx needs to be exposed
website1 tested on another location? What do you see, and what did you expect to see, etc etc
The more details, the better.
You have to elaborate this now, like this:
website1 = hosted by xxx = linux server with IP nr xx.xx.xx.xx
website 2 = local apache = folder xxx needs to be exposed
website1 tested on another location? What do you see, and what did you expect to see, etc etc
The more details, the better.
Were you hosting your site on iis prior to installing Apache, you need to change ports or add another ip to your system, and bind the Apache config to the new ip,
Do you have a GUI tool through which you manage Apache?
Do you have a GUI tool through which you manage Apache?
ASKER
No I didn't used iis but I think look like the Port 80 and 443 is causing the problem can i just changed to any other ports or is there a recommended once that is can use with Apache to keep running our signage media.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sure will give it a try by using port 8080 but I haven't been to client site yet again I will update once try above suggestions.
Sounds like your config file isn't being picked up correctly or you haven't done an Apache restart or reload to pull in your new config.
Trying to debug this on Windows will be mind numbing, because there's no equivalent inotifywait command (Linux), so you can camp on the config directory to see exactly the sequence of files pulled in.
You can do a Redneck check of config files being pulled in by placing a syntax error in the top of a file + restarting Apache, which should crash Apache. This will tell you if your config file is even being referenced.
Trying to debug this on Windows will be mind numbing, because there's no equivalent inotifywait command (Linux), so you can camp on the config directory to see exactly the sequence of files pulled in.
You can do a Redneck check of config files being pulled in by placing a syntax error in the top of a file + restarting Apache, which should crash Apache. This will tell you if your config file is even being referenced.
Apache config for Windows or Linux is exactly the same.
Apache is Apache, whether running on Windows or Linux.
Apache is Apache, whether running on Windows or Linux.
conf.d example:
<VirtualHost *:80>
ServerAdmin hi@website1.com
DocumentRoot /opt/htdocs/website1
ServerName website1.com
ErrorLog logs/website1.com-error_lo
CustomLog logs/website1.com-access_l
</VirtualHost>
<VirtualHost *:80>
ServerAdmin hi@website2.com
DocumentRoot /opt/htdocs/website2
ServerName website2.com
ErrorLog logs/website2.com-error_lo
CustomLog logs/website2.com-access_l
</VirtualHost>