LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   I need immediate help to resolve my webmail (https://www.linuxquestions.org/questions/linux-newbie-8/i-need-immediate-help-to-resolve-my-webmail-4175533158/)

srichennai 02-05-2015 09:25 AM

I need immediate help to resolve my webmail
 
Hi members

yesterday i followed the steps showing on the video :
https://www.youtube.com/watch?v=FTrDT7Ovjs0
to open my erp odoo to open on my localhost (http://mydomain.com/)

the changes i made are adding the following line on rc.local
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069

from that time i am not able to login to my webmail which is roundcube and url is http://mydomain.com/webmail
when i got the mebmail url it simply going to my odoo's 404 page. Any help plz.

TB0ne 02-05-2015 09:59 AM

Quote:

Originally Posted by srichennai (Post 5312516)
Hi members
yesterday i followed the steps showing on the video :
https://www.youtube.com/watch?v=FTrDT7Ovjs0
to open my erp odoo to open on my localhost (http://mydomain.com/)

the changes i made are adding the following line on rc.local
iptables -t nat -A PREROUTING -p tcp --dport 80 -j REDIRECT --to-port 8069

from that time i am not able to login to my webmail which is roundcube and url is http://mydomain.com/webmail
when i got the mebmail url it simply going to my odoo's 404 page. Any help plz.

Please read the "Question Guidelines" and "How to ask a smart question" links in my posting signature. Also, read the LQ Rules about text-speak.

This is NOT URGENT for anyone here...so asking for 'immediate help' is fairly rude...we are VOLUNTEERS, and answer when we can, IF we want to. You provide no information at all about your version/distro of Linux, or what else you did/tried. Since you say your problem started when you ran that iptables rule, the very obvious solution is "why haven't you REMOVED IT, to see if that's what your problem is?". Also, you're redirecting port 80 to port 8069...did you try putting that port number in your URL?

srichennai 02-05-2015 10:22 AM

Sorry TB0ne for the urgency. I put as urgent because i am not able use my mail for more than 24 hrs. I am using amazon ec2 instacne ubuntu 14.04. actually my odooserver is hosted and viewed by http://myipaddress:8069 i followed the steps shown in the above mentioned video to view my odoo website on my local host http://mydomain.com/. before i edit the rc.local file i can able to use http://mydomain.com/webmail to login to my email account. but now i am not able to login it now getteing 404 page not found on my odoo website. Now yes if i remove the change i can able to login to my webmail but my odoo website gone back to http://myipaddress.com:8069. I am new to linux. I need to use both of my requirement.


All times are GMT -5. The time now is 09:24 AM.