I watched your email server video and now this! You have earned my subscribe! I have been all over youtube trying to figure out how to set this up but I didn't know how to word it! Thank you so much!
hi there, I have a new domain and I run opnsense firewall. how do I access my opnsense using the domain name and not the lan ip address for opensense? thanks hprompt
It's been 4 weeks, have you found a solution? Edit : have you found a solution with apache2? Or does it have to work with both, namely Nginx and Apache2? I use kali linux btw
Hello dear boss , can it help in RDNS or PTR for redirect ip to domain if we configure this on apache ???please reply because I m facing some problems for RDNS or PTR
Hi Tony, How to restrict access to IP address in Apache ?? I dont want someone to access the website by entering the IP address.. And I'm using Cloudflare.. I couldn't find how to restrict access to IP address.. Please Give me a solutions...
Hello sir, I tried this method using local ip and it's working good 🔥. Do this method work for public ip also? I mean if any other inputs my public static ip do they get redirected as shown?
im living in bangladesh and when im access any website from Pakistan and its price showing in USD$ why it does not showing in pakistani currency? pls help me out. Thanks.
@@TonyTeachesTech Thanks for the reply! Let me clarify. I had a dynamic ip address from my ISP. (DDNS updater has been implemented and will update the name server each time the IP change) My question, how do I implement a similar automation that can update the file setting like in your conf file each time the IP changed?
If you followed the steps in this video, you have done all you can. Google will eventually see the 301 redirects from IP to domain as it crawls your site. This will take some time... weeks or months even.
@@TonyTeachesTech if you could make video how to migrate wordpress to Google cloud complete including transfer files change things on cloudflare (if my site already pointed to cloud flare what should i dob) make file manger etc
Hey tony can I redirect my domain to any other domain... Ex: Suppose I want to redirect my domain to my youtube or any other social media channel how would I do that? can I do it from my domain registrar DNS settings?
Hey! I believe you can redirect a domain name at the DNS level, although I don't have much experience with this: support.google.com/domains/answer/6069273?hl=en IMO, a better option would be to handle the redirect with the web server.
if I have an Nginx on my pods, can I redirect my IP address to a domain? I run my Nginx on pods, but in deploy or install it in Linux but run the image on pods. I was trying to reach the file on the pods by using this command #kubectl exec -it nginx-xxxxx -- bin/bash I can enter, but cannot do vim or nano there.
@@thathappyguy152 Oh I just pasted them from my clipboard. Perhaps you're wondering how to use vim? See this video here ua-cam.com/video/uE4aljoMBeg/v-deo.html
An IP address for a website is public information. Every domain name maps directly to an IP address and is necessary information for users to be able to view your site. So no I don't mind in this case
I watched your email server video and now this! You have earned my subscribe! I have been all over youtube trying to figure out how to set this up but I didn't know how to word it! Thank you so much!
Welcome aboard. Thanks Sam!
Thanks a lot ! both server solution in one place
You are welcome
Exactly what i nedded
Brother i have a VPS Server,
i don't want to install Server Panel, so Should i Do Same Like This ??? for adding Domain.!
Thank you very much Sir. How do I do it for an IP address with a port number
Thank you, it worked for me!
You're welcome! thanks for watching!
hi there,
I have a new domain and I run opnsense firewall.
how do I access my opnsense using the domain name and not the lan ip address for opensense?
thanks
hprompt
hi tony, how about the opposite. when i enter a domain name, it redirect to ip domain?
Why would you ever want that
Did not work for me, I can still access my site via the IP address
It's been 4 weeks, have you found a solution?
Edit :
have you found a solution with apache2?
Or does it have to work with both, namely Nginx and Apache2?
I use kali linux btw
It's been 4 weeks, have you found a solution? with apache2
@@maskhoped Still not working.
Sir, tq so much. 😍.
This will be helpful for my new project .
Most welcome 😊
as sysadd what is main factor to study that sir, thnx to all your videos
Hello dear boss , can it help in RDNS or PTR for redirect ip to domain if we configure this on apache ???please reply because I m facing some problems for RDNS or PTR
Does redirecting the ip to the DomainName lead to a penalty (duplicate content) in the sight of Google ?
Great one
Hi Tony, How to restrict access to IP address in Apache ??
I dont want someone to access the website by entering the IP address..
And I'm using Cloudflare..
I couldn't find how to restrict access to IP address..
Please Give me a solutions...
Perhaps something like this serverfault.com/questions/842497/disable-direct-ip-access-in-apache/842524
Hey man this doesn’t work for me. I’m able to get to the site via up, but not domain name. I can ssh with domain name though. Apache2 is the server
Thanks, well works!
should we change something in apache conf file?
Great tutorial, how can i only allow cloudflare to direct ip access?
Hi Tony, very good your videos. Could you teach how we can make two links with two different external ips for a single domain in apache server.
Very nice. Thanks
Most welcome
Hii toney for this nginx script we have to buy the domail or we can menction domail in nginx file
Hello sir, I tried this method using local ip and it's working good 🔥.
Do this method work for public ip also?
I mean if any other inputs my public static ip do they get redirected as shown?
Yes, this will work for a public IP (that is a public IP in the video)
im living in bangladesh and when im access any website from Pakistan and its price showing in USD$ why it does not showing in pakistani currency? pls help me out. Thanks.
Great! But how do you configure/block access with dynamic public address?
That I don't know
@@TonyTeachesTech Thanks for the reply! Let me clarify. I had a dynamic ip address from my ISP. (DDNS updater has been implemented and will update the name server each time the IP change) My question, how do I implement a similar automation that can update the file setting like in your conf file each time the IP changed?
@@brandon061033 Hi Brandon. I understand what you want to do, but I don't know a solution
My site is currently ranking most of the pages with both Domain & IP Address. How can I stop ranking with my IP?
If you followed the steps in this video, you have done all you can. Google will eventually see the 301 redirects from IP to domain as it crawls your site. This will take some time... weeks or months even.
i tried your steps on google cloud ssh for apache how i cna save things before write wq you said save things ho you do that on ssh?
This will help you with the vim text editor ua-cam.com/video/uE4aljoMBeg/v-deo.html
@@TonyTeachesTech if you could make video how to migrate wordpress to Google cloud complete including transfer files change things on cloudflare (if my site already pointed to cloud flare what should i dob) make file manger etc
thank u sir, very useful
You're welcome!
we can use httpc in local with django and apache ?
hey! im switching from VPS to physical. how do i take my domains and point them to my server?
In your DNS setting for your domain, change the IP address from your VPS to your physical server
Hello, when i go to my ip after these steps, it redirects me to an att website indicating it could not find the domain. Why would this be happening?
Same problem here did you find any solution?
Thank you :)
You're welcome!
Need help, i want ho, self host my website, for connecting apache2 to domain, dns creation is important for this or not ??
Yes you will need DNS configuration to access via domain name
@@TonyTeachesTech thanks darling
Hey tony can I redirect my domain to any other domain...
Ex: Suppose I want to redirect my domain to my youtube or any other social media channel how would I do that? can I do it from my domain registrar DNS settings?
and, thanks for making this video ❤
Hey! I believe you can redirect a domain name at the DNS level, although I don't have much experience with this: support.google.com/domains/answer/6069273?hl=en
IMO, a better option would be to handle the redirect with the web server.
just need a single WP Plugin :)
i used the nano instead of vim and is not working for nginx
DId the same but i have DNS probe error. Do you know why ?
No sorry
if I have an Nginx on my pods, can I redirect my IP address to a domain?
I run my Nginx on pods, but in deploy or install it in Linux but run the image on pods.
I was trying to reach the file on the pods by using this command
#kubectl exec -it nginx-xxxxx -- bin/bash
I can enter, but cannot do vim or nano there.
Randy, I think so but I'm not 100% sure
Great video. But how do I set up a ip to domain redirect with openlitespeed ?
You can apply these same settings in the OLS control panel
@@TonyTeachesTech Where is the folder of OLS? None under /etc
awesome
Thanks
bro do a video on windows server with xamp :/
Hi, do I need to set a static ip in my router or modem ?
Typically no
How can I find my default config file in Apache?
Usually at /etc/apache2/sites-available/
@@TonyTeachesTech was wondeing if you could make a video for Bitnami users!
I need is that website should not be accessed via an IP in apache
Thank you 👍
You are welcome
how did you add those directory lines in apache?
What do you mean?
@@TonyTeachesTech I feel like they may be referring to 3:15
@@thathappyguy152 Oh I just pasted them from my clipboard. Perhaps you're wondering how to use vim? See this video here ua-cam.com/video/uE4aljoMBeg/v-deo.html
hi tony can you show how to config nginx with .dev domain?
This video will help you with that ua-cam.com/video/QcNBLSSn8Vg/v-deo.html
If the server is on pvt ip n public ip routed to it then how do u do it?
I don't know
@@TonyTeachesTech thanks any way 4 replying
Thank you~~
You're welcome
Waaaay over my head. I need software to get rid of nginx.
Haha
😂😂😂
how to redirect aws wordpress lightsail static IP to doamin
what about in litespeed?
Although I haven't personally tested it, LiteSpeed supports .htaccess so you can probably use the Apache method
Is it the same for a raspberry pi?
Yeah
@@TonyTeachesTech thank you 😀
Wow 🙏
👍
It’s work in Linux too?
He's doing it in a linux dist. via a VM.
Yes, this will work on Apache and Nginx running on a Linux system
can I use this for redirect from http to https in wordpress?
No, but this will help you ua-cam.com/video/gc1MhsJvuRg/v-deo.html
Thank you
You're welcome!
can i add ssl certification on redirected domain ?
Yes
Hello? I got a question you don't mind if people know your IP?
An IP address for a website is public information. Every domain name maps directly to an IP address and is necessary information for users to be able to view your site. So no I don't mind in this case
To know some site IP address, just run 'ping somesite.com' and it will return some information about the connection and the IP of somesite.com
@@TonyTeachesTech he was talking about your home IP
does not work for me unfortunately
I am getting the '500 internal server error' even tho i have copied exactly what you did
Check your logs /var/log/...
@@TonyTeachesTech the problem was that i didn't had my ipv6 as DNS record. now its working
I'm getting an error " redirected you too many times.
Try deleting your cookies.
ERR_TOO_MANY_REDIRECTS"
thanks
how to open same in angular
not working in my case
Doesn't work idk wtf the issue is
How to redirect ip:port to domain in nginx?
Not sure Pankaj
Why can it be nessecary?
I got a few requests to make this video from commenters. Not sure how practical this is
How to do that in iis
I am not sure
but im host on other port.
Any port should work
4:24
not working
What seems to be the problem?
Tried it, got banned for fraudulent activity. 0/10
JK nice video. The fraud is probably because I put the wrong IP in nginx
script find real ip adress