Find out how to access information about the folder structure via the 1&1 Control Panel
There are a different ways to full path to your webspace to use in scripts, this depending on your package. The first method below is for Linux and Microsoft hosting packages. Some package-specific alternate methods are explained afterwards.
Log in to your 1&1 Control Panel and select the relevant package.
From the Domains panel, click on Manage Domains.
Domains > Manage Domains
Click the arrow icon next to the domain in question to open a list of domains options.
Select Edit Destination from the list of options.
Look for Complete web server path. Here is the full folder structure for that domain.
packages, log in to your server via SSH (Secure Shell)
and run the pwd command. This command will output the folder structure down to the current folder. Be sure to cd (change directories) to the folder you want before running this command.
For Microsoft packages, use the Server.MapPath() function for your ASP and .NET scripts. Running the Server.MapPath function without any parameters will output the full path to the folder where the script is saved. Specify a parameter for the function such as savePath = Server.MapPath("uploads") which will output the full folder structure to the folder named uploads contained in the same folder where the script is saved.
For additional information, you may want to reference: