Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Local, Remote , and Testing Sites

Guest
Feb 25, 2010 Feb 25, 2010

QUESTION:  Can the local root folder and the folder for the testing server be the same folder.  If so, are there any problems about which I should be made aware when connecting to the remote server?  If not, how should I configure my site so that I can test locally before uploading to my remote server?

BACKGROUND:

Machine:  MacBook

OS:  MacOS 10.5

Remote Server:  Lunarpages

Local Server:  MAMP/MAMP Pro (Apache, PHP 5, MySQL)

DISCLAIMER:  After a careful read of the Adobe Dreamweaver CS3 manual for building web-applications I am thoroughly confused.  I take none of the blame for my confusion, as I can easily demonstrate where the manual contradicts itself. 

TOPICS
Server side applications
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Feb 25, 2010 Feb 25, 2010

Can the local root folder and the folder for the testing server be the same folder.

yes

If so, are there any problems about which I should be made aware when connecting to the remote server?

no

If not, how should I configure my site so that I can test locally before uploading to my remote server?

well, mac osx comes with all the tools necessary to develop great php sites.  but even so, it's a lot easier to use a product like MAMP (www.mamp.info) to establish a local development / testing environment.  Simply download the free software, drag to applications folder, start and use.  You may also want to change the default ports to 80/3306 so you don't have to enter those in your connections (i.e. localhost:8888).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 26, 2010 Feb 26, 2010

QUESTION:  How  do I get my local browsers to use the MAMP server at Port 110?

BACKGROUND:  So, I have installed MAMP and MAMP-Pro and designated my local and testing folders to be the same.  When I try to test my file locally with my local browser two things happen:  one, a temporary file is dumped into my local folder; and two, my browse tells me the following:

Not Found

The requested URL /TMPFXIZ3YHLAS.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


Apache/1.3.41 Server at thegenaproject.com Port 80

What is wrong appears to be self-evident from the comment "Apache/1.3.41 Server at thegenaproject.com Port 80". 


SERVER AND APPLICATION SPECIFICATIONS

DREAMWEAVER specifications:

LOCAL INFO

local root folder:  Arcas:Applications:MAMP:htdocs:thegenaproject:

http address:  http://thegenaproject.com/

REMOTE INFO

remote folder:  ftp.thegenaproject.com

TESTING SERVER

Server Model:  PHP MySQL

Access:  Local/Network

Testing Server Folder:  :Applications:MAMP:htdocs:thegenaproject:

URL Prefix:  http://thegenaproject.com/

MAMP-Pro specifications

SERVER / GENERAL

PORTS:   Apache: 110 / MySQL:  3306

USER:  www/mysql

HOST:  localhost

Roddy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Feb 27, 2010 Feb 27, 2010

I have apparently and temporarily resolved my problem by performing the following:

1) Using the MAMP-Pro default ports and localhost server, and

2) Setting my http address and url prefix to the same local address.

LOCAL INFO

http address:  http://uranus.local:8888/thegenaproject/

TESTING SERVER

url prefix:  http://uranus.local:8888/thegenaproject/

Any comments on this fix would be appreciated.  For example, you could provide an explanation as to why what I have done works, and how I might use the same logic to set up a new virtual host with a different set of ports.

Roddy

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Mar 08, 2010 Mar 08, 2010
LATEST

kiusau wrote:

I have apparently and temporarily resolved my problem by performing the following:

1) Using the MAMP-Pro default ports and localhost server, and

2) Setting my http address and url prefix to the same local address.

LOCAL INFO

http address:  http://uranus.local:8888/thegenaproject/

TESTING SERVER

url prefix:  http://uranus.local:8888/thegenaproject/

Any comments on this fix would be appreciated.  For example, you could provide an explanation as to why what I have done works, and how I might use the same logic to set up a new virtual host with a different set of ports.

Roddy

So, is that the solution?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines