Jump to content

Recommended Posts

Hello everyone! I am having some trouble using apache. I installed and it runs perfectly. It runs fine locally but i want it to be global.

I want to host my own site using apache. I have my own domain name but I don\'t know much about DNS and what IP address apache should be configured to use. what directives need to be changed in apache for my site to be viewed on the web. I am newbie so any help would be appreciated thanx.

?>[/code]

Link to comment
https://forums.phpfreaks.com/topic/210-using-apache-to-host-my-own-website/
Share on other sites

go to www.apache.org and click on HTTP Server and click the appropriate version under the \'documenation\' heading.

 

check the following directives:

 

Listen

ServerName

 

you will need to open port 80 for the machine\'s internal ip on your modem/router to allow outside access.

My server is running fine. I configured apache to Listen to 80.

and with my router i used port forwarding to forward to my computer\'s IP address. Can my ServerName in httpd.conf be anything or??

 

Do I need to modify my domain name servers for my registered domain names? If i do need to, would my host name be the same as the ServerName in the httpd.conf file and the ip address for my computer?

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.