
addymin at pacbell
Jul 19, 2004, 5:54 PM
Post #2 of 3
(407 views)
Permalink
|
|
Re: Apache on a Non-Standard Port - follow-up question.
[In reply to]
|
|
InHisGrip wrote: > Hi group, > > I have configured my apache manually and specified > port 8080 instead of port 80 on the httpd.conf file. > So my main is www.my-site.com:8080. I have also > enabled port forwarding on my router and specified > port 8080 for web connection. > > The follow-up question is, the main site is accessible > from the Internet e.g. http://www.my-site.com:8080. > Now, if I try and access this site from outside my > small home network, e.g. http://www.my-site.com, I get > a server busy reply. > > The question is if it would be possible for others to > access my site, by just typing http://www.my-site.com? > The apache server is working and could be accessed > readily, however, I am just curious if it would be > possible or is there a work around this limitation? > Sometimes, people tend not to include the port number > 8080 suffix after the domain name which could not get > resolved. InHisGrip, I think you'll want to use a third-party DNS service like zoneedit (www.zoneedit.com) to handle the non-standard port. I use zoneedit on one of my servers and I've used a non-standard port (8080) on apache so I know this works. Try this: 1. Go to zoneedit and sign up 2. Config apache to listen to 8080 (done) 3. Check to see if Apache works in a browser by using a URL: http://3.4.5.6:8080/. Use the port number that you're listening on and the real IP address of your machine. 4. Add the "IP Address" for your web server in ZoneEdit: "ww2.my-site.com.com" points to "ip address". 5. Add a Web Forward entry for your domain called "www.domainname.com" that points to http://ww2.my-site.com:8080/ You can turn cloaking off. This lets people know thay are going to http://ww2.my-site.com:8080 is usually OK, and it allows the browser to perform better. I hope this helps. Michael > > As suggested by Jeetu, he mentioned about doing a > proxy pass. Is this also included in one of the > directives in the httpd.conf file? How do I proxypass > my main wwww.my-site.com:8080 so that everytime others > type in www.my-site.com, they could connect? > > Sorry folks, if I may have asked this question the > second time around, but I am no linux nor apache > expert like most of you guys and have no idea where to > look for the solution. Your inputs could make a big > difference in this family oriented project of mine. > > Thanks very much Jeetu on your helpful tips. Hope to > hear from you guys soon. > > Servie > > > > > > --- Jeetendra Mirchandani <jeetu [at] cse> > wrote: > >>On Mon, 19 Jul 2004, InHisGrip wrote: >> >> >>>I tried accessing apache using >> >>http://www.my-site.com >> >>the http protocol specifies the default port here to >>be 80 >>if you want to connect to any other port, you will >>have to write it there >> >> >>otherwise, if you have some other site under your >>control, hosted on port 80, >>put a proxypass from that site to yours >> >> >>eg. http://second.stie.com is your second site >>visible at port 80 >> >>put >>proxypass /private http://www.my-site.com:8080 >> >>in your config >>to get http://second.stie.com/private as >>http://www.my-site.com:8080 >> >> >>Jeetu >> >> >>>but I only get server busy and could not get >> >>through. >> >>>Is there a better solution to this, or do I have >> >>to >> >>>deal with it by adding the non standard port on >> >>the >> >>>browser? >>> >>>Hope someone would enlighten me on this one. >> >>Thanks in >> >>>advance. >>> >>>Servie >>> >>> >>> >>> >>> >>> >>> >>> >>>__________________________________ >>>Do you Yahoo!? >>>Vote for the stars of Yahoo!'s next ad campaign! >>> >> > http://advision.webevents.yahoo.com/yahoo/votelifeengine/ > >>> >>> > --------------------------------------------------------------------- > >>>The official User-To-User support forum of the >> >>Apache HTTP Server Project. >> >>>See <URL:http://httpd.apache.org/userslist.html> >> >>for more info. >> >>>To unsubscribe, e-mail: >> >>users-unsubscribe [at] httpd >> >>> " from the digest: >> >>users-digest-unsubscribe [at] httpd >> >>>For additional commands, e-mail: >> >>users-help [at] httpd >> >>> >>-- >> >>Regards, >>Jeetu >> >> > > --------------------------------------------------------------------- > >> Jeetendra Mirchandani, Hostel : H12, >>C-Wing, Room 616 >> Graduate Student, Lab Ph : (+91 22) >>25764705, 25764733 >> CSE, IIT Bombay, Mobile : (+91) >>98208 78028 >> Powai, Mumbai, E-mail : jeetu[at] >>cse.iitb.ac.in >> INDIA. HomePg : >>www.cse.iitb.ac.in/jeetu >> > > --------------------------------------------------------------------- > >> >> > --------------------------------------------------------------------- > >>The official User-To-User support forum of the >>Apache HTTP Server Project. >>See <URL:http://httpd.apache.org/userslist.html> for >>more info. >>To unsubscribe, e-mail: >>users-unsubscribe [at] httpd >> " from the digest: >>users-digest-unsubscribe [at] httpd >>For additional commands, e-mail: >>users-help [at] httpd >> >> > > > > > > __________________________________ > Do you Yahoo!? > Vote for the stars of Yahoo!'s next ad campaign! > http://advision.webevents.yahoo.com/yahoo/votelifeengine/ > > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project. > See <URL:http://httpd.apache.org/userslist.html> for more info. > To unsubscribe, e-mail: users-unsubscribe [at] httpd > " from the digest: users-digest-unsubscribe [at] httpd > For additional commands, e-mail: users-help [at] httpd > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe [at] httpd " from the digest: users-digest-unsubscribe [at] httpd For additional commands, e-mail: users-help [at] httpd
|