What i have done:
I have installed acquia dev. I created new subdomain named abc
I could access the site url as http://abc.localhost:8082 in my local server.
I could see the folders within folder sites as
sites/all
sites/default
sites/abc.localhost
I have uploaded the files to my server and exported local database to import to live database.
My questions:
How to access abc.localhost site from the live server now and how to change configurations?
Anyone out there to help me in this. I could explain further for any comments. Thanks in advance.
Typically, your Drupal multi site structure should be as follow
sites/all
sites/default
sites/example.com
sites/sub.example.com
sites/example2.com etc...
the URL abc.localhost is a local URL only, so for the live server, you would need to change the directory title to your live server's domain name as seen above.
You could also do the following if you need to regularly update code between your live and local versions
sites/all
sites/default
sites/example.com -> abc.localhost // You can use a symlink here
sites/abc.localhost
Related
My local installation of a Typo3 Page worked perfectly fine on a Xampp Server but when I tried moving it to my webserver I get the error
The Fluid template files [Path to my layout.html] could not be loaded.
More information regarding this error might be available online.
I transferred the files from Htdocs with FTP and the database with phpmyadmin import/export.
What could cause this error?
In this generality there are multiple reasons possible:
Can the apache user access the files? (the FTP user mostly is different than the apache user and the correct file- und folder-permissions can be lost easily)
Have you the same filenames and pathes?
don't use the windows folder separator \ on unix-servers.
is your local file systems case insensitive? Linux is case sensitive and /test/is another folder than /Test/.
Did you set your correct domain record on the pagge tree root?
If not please set the domain record to the actual url you try to reach the page.
I am using wamp to host a local version of my WordPress site. It was working gine until I restarted my computer and now I get this error.
This site can’t be reached
The connection was reset.
I tried restarting the services, and creating a new copy of this site under I different folder and the error still persists. My other non WordPress sites work fine.
Not sure what is going on so any suggestions would be great.
If you've moved your site to a different folder then the root has probably changed. Go to Preferences > Web Server and click on the folder next to Document Root, and navigate to the root directory that has your site then click on Select.
Also, make sure Apache and MySQL servers are running. Hope this helps.
You might have changed your port number from default port number.
Open with the port number that apache server is listening.
In your browser give "localhost:portNumber/WordPress"
Example: localhost:80/wordpress or
localhost:8080/wordpress or
localhost:8081/wordpress.
You Can check your port number from apache part config file.
Watch this video: https://www.youtube.com/watch?v=blmOFr8uZQI
I think its plugin issue from the codebase. Just rename the plugins name one by one in (wp-content/plugin/) folder and check.
I have cloned a whole online website built with prestashop by FTP and hosted it on a XAMPP. I have downloaded the SQL dump and imported it locally with phpMyAdmin. I have changed the conf files to use the local database.
When I go to localhost/myProject it redirects me to the website url. Why is that ? is there another configuration setting to edit? I have already looked in the conf table in database and domain URL was already set to "localhost", even on the online version.
I found a reference to the website in table "ps_shop_url". I changed its values to localhost, now when I go to localhost it tells me "this page has an infinite redirection loop"
change the you site url to localhost in database.sql file as below:
Change www.yourdomain.com to localhost & make sure you have putted your site htdocs directory...
Can you show entry that you have made in ps_shop_url table.
Physical url should be /prestashop1606/ for localhost/prestashop1606/
I have a wordpress website on my WAMP server, which I made as a project in Netbeans IDE. Everything was working fine untill I changed the name of my PHP project from 'stickpeg' to 'portfolio'. Now when I try to run my project by clicking the green arrow on the menu tab, it displays me a page saying...
Not Found
The requested URL /wordpress/ was not found on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
I'm thinking that the error is something to do with my NetBeansProjects folder, as it's not in my wamp folder at all, but in my documents folder! Plus, the project folder in the NetBeansProjects folder is called 'portfolio', which has 3 other folders inside it called config, public_html and test, which are all empty.
Please help, I just want to be able to see my wordpress website running in my browser again.
You have to put the files in the htdocs directory. Apache (e.g. your WAMP server) can't find the files, since there are in the My Documents folder.
Just move the directory wordpress to C:\wamp\htdocs\wordpress (for example).
Never mind. Sorted it out. Apparently I had to change the Site Address URL and WordPress Address (URL) and then go into netbean's project properties -> run configuration and change the project url.
I am trying to setup a PHP server so that I could use the "Live" feature in Dreamweaver, in addition to being able to preview in my browser without having to upload the .php file via an FTP application every time, which is not efficient when I want to do quick small previews.
I have setup a new website and selected a folder for the site on my local drive.
For the server, I have the following information (I don't know how much of it is relevant):
Remote: Yes
Test: Yes
Server Name: Server
Connect using: FTP
FTP Address: my domain name
Username: my username
Password: my password
Port: 21
Root directory: blank
Use passive FTP: Yes
Use IPV6 Transfer Mode: No
Use proxy: No
Use FTP performance optimization: Yes
Maintain Synchronization Information: Yes
Automatically upload files to server on save: Yes
Enable file checkout: No
Server model: PHP MySQL
When I test the server, it is successful and I am able to get the site/server to show up in "Manage Sites". However, when I want to test my .php file on the "Live" preview panel or as a preview in Chrome, I get the error message: "Dynamically-related files could not be resolved because the site definition is not correct for this server." When I upload the .php file to my FTP manually, the page displays properly but when I try doing this it either does not work or the Chrome preview mode just spits out the entire raw code.
I tried and Googled, but I could not find a solution to this problem. Any help would be greatly appreciated.
Side note: I have my hosting from GoDaddy and the server from there is based on MySQL.
Thank you.
To set up PHP server with dreamweaver follow the following steps
Step 1.
Make Sure you have MAMA(For MAC OX) or WAMP (Window OS) install. If you dont know where to get then click this link
http://www.mamp.info/en/downloads/ and install in you system. (make sure if you are using skype close it because skype and mamp use same port. Later you can chage the port for Skype)
Step 2:
Open Dreamweaver and choose
Site > New Site
Step 3:
Type your site name and click on browse button to locate you htdocs folder (which is normally inside you mamp/wamp folder on you root directory).
Step 4:
Select Server from left hand side and click on add (+) sign.
Follow the following:
Server Name: localhost
Connect Using: Local/Network
Server Folder: (this is wehre your site located (i.e. inside htdocs folder)
Web URL: http://localhost/yourSiteName (yourSiteName is name of your folder)
Click Save.
Step 5:
Check Testing and click SAVE
Step 6:
Last but not least Open File Panel
Window > Files
Now create a new file and Save it inside you folder.
Thats it you are set mate.
hope thats helps
Cheers!
The problem is when you try and run your PHP file from your local machine, there's no web server running - nothing on your machine knows what to do with that file.
The solution is to run a local version of Apache, PHP, MySQL on your local machine - the easiest way to do is to download xaamp - http://www.apachefriends.org/en/xampp.html. Put your website files in the htdocs directory once it's installed, and you can view them by going to http://localhost/websitefoldername