Search This Blog

Benjamin Philip. Theme images by Roofoo. Powered by Blogger.

Comments

Translate

Recent

How to redirect (sub)domain to a blog

SHARE:

How to redirect (sub)domain to a certain IP address along with a port?

If you are running a web service (that is run on port 80 by default) on your home network computer accessible from the internet, you can redirect your Namecheap domain to an IP address of the server along with a port.

First of all, check if all requirements are met:

1) A server or workstation hosting the service has a static IP address.
2) A port you would like to forward the domain to is opened on a workstation and router.
3) A workstation has its firewall disabled, or an exception rule is added.
4) A router is configured to forward the request to the local IP address.
5) It is not a gaming, FTP, remote desktop or radio broadcast service. It is not possible to redirect a domain to an IP address of the server that is not listening on port 80 by default using this method. In such case, an SRV record should be created.
6) The domain is pointed to our BasicDNS, BackupDNS or PremiumDNS nameservers.


To set up port forwarding (port mapping), perform the following actions:

1. Sign in to your Namecheap account (The Sign In option is available in the top hat of the page).

2. Select Domain List from the left sidebar and click on the Manage button next to your domain:





3. Navigate to the Advanced DNS tab at the top of the page and find the Host records section:




 4. Click on the Add New Record button (not able to edit Host Records?):



5. Select URL Redirect Record from the drop-down menu for Type, put @ (your bare domain e.g., yourdomain.tld) for Host and use http://ipaddress:port for Value (IP address and port should be replaced with actual values):




Unmasked Redirect will redirect a domain to your IP address and port and display the specifies URL (http://1.2.3.4:50) in the browser bar, not your domain name.

If the server (you are redirecting the domain to) has X-Frame feature disabled, you may select a Masked Redirect for the client's browser to display your domain name instead of http://1.2.3.4:50.


6. Click on Save All Changes once the setup is cjompleted. It may take up to 30 minutes for the new settings to be accepted.


Should you want to set it for a subdomain, use its name for Host (address for your address.yourdomain.tld, for example):




You might also want to check for conflicting records for the same Host and remove them, if there are any. The records you need to check may be of Unmasked/Masked/Permanent Redirect, A or CNAME record types.

Here is the example of conflicting records:





COMMENTS

Name

android,6,Arduino,4,Blogs,10,C Programming,26,Computer,18,Electronic,12,HTML,22,Mobile,13,NEWS W,2,PHP,8,Programming,1,Project,9,Tutorial,7,
ltr
item
GetYarn: How to redirect (sub)domain to a blog
How to redirect (sub)domain to a blog
How to redirect (sub)domain to a blog,blog domain
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUAQOUa2GmlO08hm_3zcTq11uq3FlPaZq5D6PsiLfpa4s8yNRM5KVMBVtRtUGuvKv4L9MD0n8JRJwB2A4ttLAFkvY5TDUACo0KZsDXTn-MqKpuPzrVt2hrT3GqJq-ytZzIRXiZM9HGLUi9/s320/nctestmanage.png
https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUAQOUa2GmlO08hm_3zcTq11uq3FlPaZq5D6PsiLfpa4s8yNRM5KVMBVtRtUGuvKv4L9MD0n8JRJwB2A4ttLAFkvY5TDUACo0KZsDXTn-MqKpuPzrVt2hrT3GqJq-ytZzIRXiZM9HGLUi9/s72-c/nctestmanage.png
GetYarn
https://getyarn.blogspot.com/2017/07/how-to-redirect-subdomain-to-blog.html
https://getyarn.blogspot.com/
http://getyarn.blogspot.com/
http://getyarn.blogspot.com/2017/07/how-to-redirect-subdomain-to-blog.html
true
6634423068030231660
UTF-8
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS CONTENT IS PREMIUM Please share to unlock Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy