The Little Guy Posted October 31, 2011 Share Posted October 31, 2011 I have a dynamic IP address, and port 80 blocked (So I use port 3333) and I was wondering if anyone had any solutions to use a domain with that. I would like to register a domain under godaddy. I have see some sites were it masks the urls, so if I go to: http://mysite.com Then click on a link that takes me to: http://mysite.com/somepage.php the URL then still displays: http://mysite.com I would like to have a way around this, does anyone know of any free solution? Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/ Share on other sites More sharing options...
trq Posted October 31, 2011 Share Posted October 31, 2011 Take a look at http://dyndns.org Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1283787 Share on other sites More sharing options...
The Little Guy Posted October 31, 2011 Author Share Posted October 31, 2011 I was using no-ip like 5+ years ago which I hear is a similar service. I am currently not on my computer to test this, but doesn't that still mask the URL doing it like that? found this: - Go to your DNS manager and create a DNS CNAME entry for your domain (abc.com) and make it go to your free no-ip subdomain (xyz.redirectme.net) Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1283789 Share on other sites More sharing options...
trq Posted November 1, 2011 Share Posted November 1, 2011 If your trying to hide the port you would need to use some sort of url mask. that's not what dyndns is for though. I misread your post I think. Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1283848 Share on other sites More sharing options...
QuickOldCar Posted November 4, 2011 Share Posted November 4, 2011 Install bind to set up a dns server. This will "bind" the port to the main domain. http://www.isc.org/software/bind Then configure your settings through somewhere like godaddy that has all the options. There are tutorials and plenty of documentation out there better than I can explain it. For apache: http://httpd.apache.org/docs/2.0/bind.html Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1284937 Share on other sites More sharing options...
The Little Guy Posted November 4, 2011 Author Share Posted November 4, 2011 Before I try, will this work with a port OTHER than port 80? Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1284940 Share on other sites More sharing options...
trq Posted November 4, 2011 Share Posted November 4, 2011 Before I try, will this work with a port OTHER than port 80? DNS resolves a domain name to an IP address. It has nothing to do with ports. If your trying to make http://foo:3000 work without needing the port on the end of the domain you will need to use some sort of iframe solution. I wouldn't be surprised if hosting a web server is against your isp's TOS anyway, considering they block port 80. Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1285070 Share on other sites More sharing options...
The Little Guy Posted November 16, 2011 Author Share Posted November 16, 2011 Okay! I have gotten it to work! One question I now have is why does this work: http://www.weblyize.com and this not work: http://weblyize.com Oops! Google Chrome could not find weblyize.com Did you mean: www.weblyize.com Additional suggestions: Access a cached copy of weblyize.com Search on Google: What would cause that? Apache? Bind? Godaddy? Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1288717 Share on other sites More sharing options...
QuickOldCar Posted November 16, 2011 Share Posted November 16, 2011 Both links work for me in firefox Use a 301 redirect through your .htaccess if would like to use just one. http://www.scriptalicious.com/blog/2009/04/redirecting-www-to-non-www-using-htaccess/ Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1288723 Share on other sites More sharing options...
The Little Guy Posted November 16, 2011 Author Share Posted November 16, 2011 Yeah I just got it working. It was an Apache thing. I had this in the VirtualHosts ServerName www.weblyize.com I then changed it to this: ServerName weblyize.com ServerName www.weblyize.com Thanks for every ones help! Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1288727 Share on other sites More sharing options...
trq Posted November 17, 2011 Share Posted November 17, 2011 You should only have one ServerName directive er vhost. Use: ServerName weblyize.com ServerAlias www.weblyize.com Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1288827 Share on other sites More sharing options...
The Little Guy Posted November 17, 2011 Author Share Posted November 17, 2011 You should only have one ServerName directive er vhost. Use: ServerName weblyize.com ServerAlias www.weblyize.com That works too! Quote Link to comment https://forums.phpfreaks.com/topic/250185-host-domain-with-dynamic-ip/#findComment-1288941 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.