i have successfully installed my application using this technique https://docs.bitnami.com/aws/infrastructure/lamp/administration/create-custom-application-php/
my main domain xyz.com is working fine .now i want to install wordpress in a folder and point it to subdomain blog.xyz.com .kindly guide me how to create subdomoain on amazon lightsail bitnami to point to my directory opt/bitnami/apache/htdocs/blog.
one other thing currently my subdomain blog.xyz.com is also showing root website xyz.com
Bitnami Engineer here,
You will need to follow the same guide to deploy the WordPress application on top of your current instance. However, when configuring the vhosts files (wordpress-vhost.conf and wordpress-https-vhost.conf files), you will need to set the domain you want to use to access WordPress
...
ServerAlias blog.xyz.com
...
https://httpd.apache.org/docs/2.4/mod/core.html#serveralias
Note: You can set the ServerName parameter as well.
https://httpd.apache.org/docs/2.4/mod/core.html#servername
Related
I have a domain in bigrock and Ihave ec2 instance running on aws with elastic ip.
Over there I have instantiated tomcat server and it has my website files in its htdocs folder.
I have managed DNS of bigrock to this ec2 ip.
So when I browse for my domain name in browser it launches tomcat home home page insteade of index.html file
So how can I load index.html file by default?
You can't point a domain name to a specific web page. A domain name points to a server. You have already configured your domain name correctly.
You have a few options:
Configure Tomcat to serve your application as the root context.
Place a reverse proxy like Nginx in front of Tomcat, and configure it to route requests to your Tomcat app.
How to create a WordPress website when the hosting package that was given by T-Home (T-Mobile) only includes a FTP password and FTP username, but doesn't include an access to a hosting panel or a remote access to MySQL?
If you've been provided a MySQL database, but you just can't access it remotely then this shouldn't be a problem. You can just upload the Wordpress installation files via FTP and then open your website in your browser and you can configure everything with the WordPress installation wizard, which should automatically start once you uploaded everything to your webspace.
If your provider hasn't provided you a MySQL database I see no way to make this work. (You can create a Blog on http://wordpress.com though).
That is correct.
You can download WordPress installation zip in your local system, extract it and upload it on server using FTP account.
MySQL is generally installed in same server and you can use localhost as server name (no need to have remote access). Most of the providers do not provide remote mysql access to avoid security issues.
Once you have uploaded WordPress files on server, access your site with domain.com (if the domain is pointing to same server) OR if it does not point to server, you can access it with temporary URL and proceed with the installation steps.
Is there a way to apply Apache server config (in httpd.conf) to Openshift PHP application? I need to add a configuration so that Apache acts as reverse proxy for specific URL pattern and those requests need to be handled by a java application also hosted in Openshift. But I do not have access to httpd.conf file and only root user has access to it. The file I am referring to is (php/configuration/etc/conf/httpd.conf)
The users do not have permissions to edit the hhtpd.conf file in PHP cartridges I know of.
However, you can develop your own cartridge, that will have it configured according to your needs. You can find more about creating cartridges here.
I am running a website in Google Compute Engine and configured a DNS zone and an A record to point to the IP address where my web-server runs. In my domain registrar (GoDaddy), I changed name-servers to point to Google name servers.
I can browse to the website without issues, but it show the IP address of the server instead of domain name. How can I change that to show domain name such as www.example.com instead?
I have a website hosted in GCE running under a Linux machine Apache Server. I created an A record in my DNS pointing to the external IP address of the server. When I access the link the subdomain name is not replaced by the IP. I do not believe your issue is particularly related to Compute Engine.
Particularly if you are using WordPress you will need to change some configuration files as stated in
http://codex.wordpress.org/Changing_The_Site_URL
https://wordpress.org/support/topic/browser-displaying-ip-instead-of-domain-name
The below solution worked for me,
GCP set IP Address as site URL when you deploy WordPress on google cloud.
Please change it to your domain name,
WordPress Admin Panel >> Settings >> Site URL (& WordPress URL as
well) >> add your domain name into textbox
Attached is the image for your reference.
I'm installing wordpress and I'd like to use a web mysql database rather than a local one. Is this possible? I used the same exact credentials for an already existing web wordpress installation with no luck.
If your web server allows remote MySQL connections, then yes. Just set your DB_HOST in wp-config.php correctly.