So i am having a problem, there is a website which have been hosted on plesk and currently to access that website i have to change my hosts file in system32 folder and put the IP and website domain name to access that file. Now i want to remove that so that i can access my website without editing my hosts file. How can i do that?
Note: I didn't made those settings on that website where i have to edit my hosts file to access the website and the website is made in wordpress.
I really dont have idea what to do because i have always used wamp to use it on localhost. Please Help guys!! thanks alot.
The issue is that your website does not have public DNS records and you should create them.
As you want to host it on Plesk server let me explain on example:
Let's assume that you have created a website and called it example.com. For development and tests you used wamp server on your local machine and to reach website you edited local hosts file.
Now you want to move it to production, so what you need to do:
First you should register your domain. You can do it with some registrar like GoDaddy.
Next you need to create this domain in Pleks > Subscriptions > Add Subscription. On this step Plesk will create a DNS zone for your domain on local DNS server.
After that you have two options:
1. Allow Plesk to host and serve DNS zone. In this case you need to configure Plesk server as name servers for your website on registrar side.
2. Use another DNS server, for example provided by your hosting provider, and configure zone for your website manually.
Finally you need to wait until zone will be propagated world-wide and your website will become accessible.
You can read more about DNS here, here and here.
Related
I built a website (localhost) using PHP and HTML through XAMPP. Now, I want to publish it online (webhost), available to everyone. What should I do? Thanks in advance!
First you need a host to upload your files. For this purchase hosting space from godaddy, bluehost or someother provider. You need to purchase a domain too. After domain and hosting space, if you have purchase linux hosting, then 90% chance is that you will get a cpanel. So log into your cpanel then navigate to 'public_html'. Inside this, using some ftp client like filezilla, or cpanel's build in upload feature, upload all your files. If your website needs a database, then you need to create a database, add database user and password using database wizard tools in cpanel.
When you will purchase a hosting, these things will be very clear once you login and expore a little.
Moving a website to another host consists of the following steps:
Moving the website's files.
Moving the website's database(s) (if any).
Configuring your application to work at the new host.
Pointing your domain's DNS to the new host.
A more detailed breakdown of these steps can be found below:
Transferring the files to the new host
The most convenient way to transfer your website's files to your new web hosting account is via FTP. You should connect to your hosting account and download the files locally to your computer. Then you have to upload them to your new hosting account's main folder (usually public_html, www or httpdocs).
More information on how to use FTP can be found in our FTP tutorial.
Transferring the website's databases
You have to export the database content from your old hosting account (usually into an SQL file), create a new database at your new hosting company and import the information in it. For detailed information on how to import/export databases via phpMyAdmin you can refer to this tutorial.
Application setup on the new host
This really depends from the website application that you are using. For step-by-step instructions on how to reconfigure some of the most popular applications
Check this out https://www.heroku.com/. The website will update as you push your code to the git. It's free, easy to use and good for small project.
I have a website on OVH web hosting.I want to add one more website to it.I have added TXT file ON DNS area.After this, I also added parameters that OVH has given to me to activate multisite like A record as well.But this is not working for me as it adds domain name as a subdomain like x.ovhsupport.fr but I want it to be added like x.fr a full domain name.And it shows me as a site not installed yet but the files exist.I want it as a full domain name.I don't know how to do it Please help me.
Is your domain registered with OVH or is it an external domain?
An internal domain can be automatically configured by OVH, you should consider a transfer if it's an external domain. Or you can refer to this step-by-step procedure in OVH docs.
I have a domain in godaddy and would like to host my website in my local server. I don't know the entire process, can someone please help me?
I am using wordpress. In xampp I installed wordpress and run my website locally, I want to point this local site to my domain
I know my question isn't clear,
my site is running locally with out any problems
am already purchased the domain in Godaddy.
I want to link my website with domain name.
I have a Windows 2012 R2 on a dedicated physical server
Installed XAMPP on the server
running my website locally.
What is the procedure for linking my local website with domain name?
Find an IP of your server
Configure your domain to point to the IP of your server
Setup your server to handle sub-domains properly, if needed, all required rewrites etc.
I hope there must by some help from Godaddy, how to link your IP to your domain name.
If you're running it locally make sure you've opened port 80, and make sure your ISP knows you are hosting a web server as they normally require a business plan for large amounts of traffic.
I would suggest getting web hosting or a VPS and make sure you're pointing the A record # and the A record www to your IP.
Don't know your IP? Google "what's my IP"
I have a LAMP application that works. I can deploy this in 15 minutes on a Linux server. I was handed a VPS to deploy it. All I get is WHM. I created an account and that got me a login to cPanel and to the box. cPanel ran some wizard that told me to put my "web source files" in /public_html There is an /cgi-bin inside of that. I cannot get any web assets to be visible from any of those folders. All I get is 404 not found. chmod 777. 404 not found.
My simple question is this: how could I get a simple hello world PHP script to run on a cPanel server? I've been building web pages since before we called them web pages. I do not need to know anything about PHP itself I want to know how to get the cPanel managed server to run PHP scripts. All the documentation I can find on cPanel assumes you've been using it forever. I just need some basic information. Where do I put my PHP code ?????
This is the way cPanel works. If you host your website on shared IP address (main IP address of your server), you cannot access your website using IP address directly. You will always redirect to "http://IP/cgi-sys/defaultwebpage.cgi URL.
To access your website without pointing our domain to your server, you can use temporary URL. By default, it is enabled on the cPanel server. You can access the temporary URL using the following URL:
http://IP/~cpanel_user
Please note that the temporary URL does not work under the following configuration:
If you have enabled mod_userdir tweak and didn't exclude default host
If your server is configured to use mod_ruid2
Hope this information will help you with future use.
I have been trying to transfer my magento website to another domain of mine on the same hosting server.
I have searched over the Internet for this but unfortunately didn't find answer about the transfer within same hosting server. However there are a lot of solutions if someone transfer from one server to another.
I have 2 domains on a hosting server. One is mydomain.ca and other is mydomain.com, currently mydomain.ca is running and the folder of mydomain.com is empty.
What I wanna do is to run mydomain.com with the same website which is running on mydomain.ca
If anyone can help that would be greatly appreciated.
If your server has any hosting panel, then there must be an option to copy content from one place to another. You can easily copy content from current virtual host directory (say mydomain.ca) to virtual host directory of (say mydomain.com).
Then login to DB administration tool (say phpMyAdmin), select database of current website, click on operations, then click on copy database.
Then provide name of database where you want to copy existing database.
Now you have to do only 2 changes:
In core_config_data table of copied database, change unsecure base url and secure base url.
In app >> etc >> local.xml of new virtual host folder, change database connectivity details (i.e. host, username, password and database name).
Now delete var/cache, var/session folders from new virtual host directory.
That's all.
If you are planning to have them both running the same website then I think there's a simpler approach.
if your website is currently running as mydomain.ca, then all you need to do is "park" your other domain on this same account. Cpanel etc will usually allow you to do this no problem.
This will basically setup mydomain.ca as a pointer to mydomain.ca. they will both point to the same directory/document root, so you'll only have one set of files and no extra directories to worry about.
some info on doing this via some shared hosting platforms:
https://documentation.cpanel.net/display/ALD/Parked+Domains
http://support.hostgator.com/articles/cpanel/what-is-a-parked-domain-how-do-i-create-and-delete-one
Once the second domain is "parked" they will both point to the same website. If you then wanted to have them use different store fronts, themes etc, you could manage this inside magento without the need to change anything else on the hosting side of things.