KevinReichard
07-17-2002, 11:31 AM
These talkbacks are in response to the article, Getting Started with Apache 1.3 (http://www.serverwatch.com/stypes/servers/article.php/1130981).
Chris writes:
I have http://localhost/ working for my Win32 version but how do I change it to something like www.mycompany.com or http://mycompany.com?
Eric responds:
Oh boy, that's one heck of a question. Unfortunately, you have to spend some money. The first thing you have to do is buy a domain name (like mycompany.com). There are several registrars on the internet that you can purchase it through. The second thing you have to do is find hosting for your server, so that it can be accessed 24/7 through the internet. If you're insistant on using your own server/apache installation, you will have to get your server co-located (connected to someone else's network). There are many businesses that will do this for you -- for a price, usually a monthly fee. It's hard to get all of the information across necessary to set up a complete, working web site in one message, but I'm sure that if you find a hosting service on the internet, they'll be more than happy to tell you how much and what for they're billing you.
trong responds:
you should change it in "ServerName localhost" to ServerName yourname and you have to add anew dns name in /etc/host good luck
Tunde Agunbiade responds:
Setting the Domain Name of your Apache server to your own domain name such as www. mycompany.com is done by editing your httpd.conf file. First you locate this file, usually in \Apache Group\Apache\conf directory in a Windows installation; (I had to use the windows Find... function at one time). Be careful to make a backup of the file httpd.conf; Open the file with Notepad and find the line with ServerName as the first word on the line, then change the word following it to your domain name www.mycompany.com
Save the file as text without changing the name or extension. Then restart Apache.
Terry responds:
Hello,
I read your message replying to Chris concerning above matter.
My reason writing you is because I am also facing the same problem as Chris(except that I already have a DNS name registered).
I would appreciate if you could tell explain further as why must we find hosting company or co-located when we already have our own server.
In this context, please correct me if I am wrong, I assume they must have also 'pay' another co-located or hosting company to get their web page on the net.
Appreciate if you were to reply.
Brent responds:
That is not entirely true, you can setup Virtual Hosts that point to the same IP address.
TGS Flawless Design responds:
I think what he needs to know is how to setup a domain like www.mydomain.com to be redirected to his own server and just by telling him to register a domain at whatever company isn't going to help much now is it?!?
Edward Ocampo-Gooding responds:
Another option (much cheaper) is the following:
1) Get Apache running. If you can get something from localhost, you're ok.
2) Get a sub-domain like eogconsulting.cjb.net (from cjb.net)
3) Get the dynamic IP crap going. (I'm assuming that you don't have a static IP - if you do, just enter the IP in step 2)
4) Stick whatever html in htdocs, and start learning about other fun stuff like cgi.
(I'm currently at step 4...)
Tim responds:
I think actually you don't need co-located server to have actual domain name. That may be too expensive. The cheaper way is to host your own server and have it connected to a cable modem or DSL which is a lot cheaper than co-located. Then you can use those Dynamic DNS service to have it pointed to you server at home. Might want to find more info at practicallynetworked.com
Sybertek responds
Whoever that was that answered the first guys questions on how to get his http://localhost to something like www.sybergate.com. For one thing you DO NOT need to pay some company for hosting or co-located. You can use your own isp and the apache web server especially if your on an isp such as cable thats already online 24/7. If you already have a domain say thru network solutions as i do such as www.sybergate.com and you want to host it yourself you can because i do it myself. You can either configure you computers domain name to be the same as the information in the config file of the apache software. I have a domain thru network solutions, so you can go to their web site and fill out a form and give them your dns info and admistration info of your isp so it will point to your computer instead of it pointing to a internet web hosting company. Whoever the person was that says you need to go out and spend all kinds of money and go thru this and that business to get it done has no idea what he is talking about and better go back and rwad up on networks and such.
Gerrit Bon responds:
Dear Sybertek,
Okay, that's what I did too. But isn't it still obligatory to go to your ISP and put your IP in their DNSes? Could you please explain to me this concept. What are the steps to perform to the registrar and what are the steps to perform at the site of your ISP?
Carlo Orecchia writes:
I had a problem with an Apache 1.3.12 (IBM HTTP Server). The same programs are running with different hostnamens on a test machine. Now I'm trying to make them work on a porduction machine.
Are there hostnames limitation such that "ita_news.alfawassermann.it" it is not a valid hostaname, while the test amchin uses vhost3.ritram.it an this is working good?
Plus, on the production machine, the site "console.alfawassermann.it" it's working good too.
So it's possible that "_" it's not a valid charachter?
Chris writes:
I have http://localhost/ working for my Win32 version but how do I change it to something like www.mycompany.com or http://mycompany.com?
Eric responds:
Oh boy, that's one heck of a question. Unfortunately, you have to spend some money. The first thing you have to do is buy a domain name (like mycompany.com). There are several registrars on the internet that you can purchase it through. The second thing you have to do is find hosting for your server, so that it can be accessed 24/7 through the internet. If you're insistant on using your own server/apache installation, you will have to get your server co-located (connected to someone else's network). There are many businesses that will do this for you -- for a price, usually a monthly fee. It's hard to get all of the information across necessary to set up a complete, working web site in one message, but I'm sure that if you find a hosting service on the internet, they'll be more than happy to tell you how much and what for they're billing you.
trong responds:
you should change it in "ServerName localhost" to ServerName yourname and you have to add anew dns name in /etc/host good luck
Tunde Agunbiade responds:
Setting the Domain Name of your Apache server to your own domain name such as www. mycompany.com is done by editing your httpd.conf file. First you locate this file, usually in \Apache Group\Apache\conf directory in a Windows installation; (I had to use the windows Find... function at one time). Be careful to make a backup of the file httpd.conf; Open the file with Notepad and find the line with ServerName as the first word on the line, then change the word following it to your domain name www.mycompany.com
Save the file as text without changing the name or extension. Then restart Apache.
Terry responds:
Hello,
I read your message replying to Chris concerning above matter.
My reason writing you is because I am also facing the same problem as Chris(except that I already have a DNS name registered).
I would appreciate if you could tell explain further as why must we find hosting company or co-located when we already have our own server.
In this context, please correct me if I am wrong, I assume they must have also 'pay' another co-located or hosting company to get their web page on the net.
Appreciate if you were to reply.
Brent responds:
That is not entirely true, you can setup Virtual Hosts that point to the same IP address.
TGS Flawless Design responds:
I think what he needs to know is how to setup a domain like www.mydomain.com to be redirected to his own server and just by telling him to register a domain at whatever company isn't going to help much now is it?!?
Edward Ocampo-Gooding responds:
Another option (much cheaper) is the following:
1) Get Apache running. If you can get something from localhost, you're ok.
2) Get a sub-domain like eogconsulting.cjb.net (from cjb.net)
3) Get the dynamic IP crap going. (I'm assuming that you don't have a static IP - if you do, just enter the IP in step 2)
4) Stick whatever html in htdocs, and start learning about other fun stuff like cgi.
(I'm currently at step 4...)
Tim responds:
I think actually you don't need co-located server to have actual domain name. That may be too expensive. The cheaper way is to host your own server and have it connected to a cable modem or DSL which is a lot cheaper than co-located. Then you can use those Dynamic DNS service to have it pointed to you server at home. Might want to find more info at practicallynetworked.com
Sybertek responds
Whoever that was that answered the first guys questions on how to get his http://localhost to something like www.sybergate.com. For one thing you DO NOT need to pay some company for hosting or co-located. You can use your own isp and the apache web server especially if your on an isp such as cable thats already online 24/7. If you already have a domain say thru network solutions as i do such as www.sybergate.com and you want to host it yourself you can because i do it myself. You can either configure you computers domain name to be the same as the information in the config file of the apache software. I have a domain thru network solutions, so you can go to their web site and fill out a form and give them your dns info and admistration info of your isp so it will point to your computer instead of it pointing to a internet web hosting company. Whoever the person was that says you need to go out and spend all kinds of money and go thru this and that business to get it done has no idea what he is talking about and better go back and rwad up on networks and such.
Gerrit Bon responds:
Dear Sybertek,
Okay, that's what I did too. But isn't it still obligatory to go to your ISP and put your IP in their DNSes? Could you please explain to me this concept. What are the steps to perform to the registrar and what are the steps to perform at the site of your ISP?
Carlo Orecchia writes:
I had a problem with an Apache 1.3.12 (IBM HTTP Server). The same programs are running with different hostnamens on a test machine. Now I'm trying to make them work on a porduction machine.
Are there hostnames limitation such that "ita_news.alfawassermann.it" it is not a valid hostaname, while the test amchin uses vhost3.ritram.it an this is working good?
Plus, on the production machine, the site "console.alfawassermann.it" it's working good too.
So it's possible that "_" it's not a valid charachter?