I have an Ubuntu server setup and have installed LAMP and would like to install Drupal. Everything is up and running, but when I install Drupal and the underlying application, the main URL gets stored in the application.
For example, if I am out on the Internet, I can get to the Apache server using something like "https://mydrupal.outsidenetwork.com". But if I install the application from the Internet, I cannot use it internal to my home network because the application has stored the URL for redirection purposes and based on the rules imposed by my ISP, it will not allow me to reflect back from my home network.
If I have installed the application from my internal home network using the internal IP, I cannot access the application from the Internet due to the same application redirection issue.
Anyway, is there someway to be on my internal home network and have the Internet defined URL go to the internal IP address so I can work on the application inside and outside? For example, mydrupal.outsidenetwork.com will go to the correct IP address if I'm outside my home network and got to my internal IP address when I'm on my home network?
I thought about using /etc/host file, but wondered if that would work or if there's a better way.
Hope this make sense....
Bookmarks