LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-05-2015, 09:25 AM   #1
srichennai
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Rep: Reputation: Disabled
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.
 
Old 02-05-2015, 09:59 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,623

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by srichennai View Post
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?
 
Old 02-05-2015, 10:22 AM   #3
srichennai
LQ Newbie
 
Registered: Feb 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How I can resolve the error Postfix? warning: hostname does not resolve to address kanzer Linux - Server 1 03-22-2013 08:56 AM
cachingserver can resolve www.gmail.com, but can not resolve mail.com SeniorGoe Linux - Server 6 06-12-2010 01:10 PM
MUA: Webmail Which is better Webmail to IMAP Server? borgesbruno Linux - Server 2 01-15-2010 08:00 PM
Unable to resolve ulr. /et/resolve.conf looks fine? TheBrick Linux - Networking 3 02-14-2008 04:13 AM
DNS can't resolve gmail.com but can resolve everything else? TongueTied Linux - Networking 2 01-24-2006 03:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration