Showing posts with label http. Show all posts
Showing posts with label http. Show all posts
Wednesday, August 26, 2015
How to Reindex a Site in Drupal
Run a manual cron job. Cron is a task that is set up on the server-side to tell your server to refresh its database and other core aspects and functions of your Website. The easiest way of running a cron task through Drupal is by typing in this URL: http://www.yoursite.com/cron.php. Hit enter and let the cron job run manually.
Set up the cron interval. Most cron jobs need to be triggered in intervals. For example, a Website with a lot of user-updated content may need to re-index the content search by running cron jobs once a day. The best way to do this is though the server's crontab function on your hosting control panel.
Type the following into your hosting panel's cron section: 0
wget -O - -q -t 1 http://www.example.com/cron.php0 represents the top of the hour, and the other asterisks refer to the day, month and day of the week. This example runs cron once an hour.
Use the Poormanscron module as an alternate option for re-indexing the website. This module can be found at: http://drupal.org/project/poormanscron. At this time of this writing, Poormanscron is now part of the latest installation of Drupal, which is Drupal 7, and therefore the module does not need to be installed. For Drupal 6 and below, this module must be set up and configured for the desired cron job intervals.
VPS Hosting
How to Find the Absolute Path in a Website
Click on any link on a Web page using a relative path. Provided the link is properly coded, the page opens. Highlight the URL in the address bar of your Web browser and copy it by pressing 'Ctrl-C' to copy the link's absolute path. If the link doesn't work, you may still be able to get the absolute path.
Examine the URL in the address bar and fix any obvious typos, like a double 'http,' a 'wwww' instead of 'www' or two slashes instead of one. If the link automatically redirected you to an error page, open a text editor and paste the code there to examine it. Once a typo is fixed, the link should work, giving you the absolute path.
Copy the URL in the address bar of the source page. Paste this in a new line in your text editor. If it ends in 'html,' delete everything after the last '/.' If it ends in 'com' or '.org' or any other domain extension, type a '/' at the end and then type the rest of the relative path. For example, if the main URL was 'http://.example.com/page.html," and the relative path was '/folder/page.html,' you should now have 'http://example.com/folder/page.html." Copy and paste this into your Web browser address bar to see if it works. If it does, you've found the link's absolute path.
Click on other links in the source Web page and examine the URLs in the address bar. Websites, like the files on your computer, are usually stored in folders and sub-folders. Every folder begins and ends with a '/.' If a developer has mistyped a folder name, correct it and try the link again. If the developer has moved a page, you may be able to determine in which folder the page you are looking for belongs. For example, if the bad link includes an '/images/' folder, while and the other images are in an '/image/' folder, you can simply delete the 's' to get the correct path.
VPS Hosting
Monday, August 24, 2015
How to Link Your Domain Name to eBay (5 Steps)
Register a domain name for your eBay store from a reputable domain name registrar such as GoDaddy. For branding purposes and easier memorability, try to register a domain name that matches your eBay user ID. You must register the domain with a registrar that allows domain name forwarding. With domain forwarding, customers will be redirected to your eBay store when they type in your domain.
Fotolia.com' data-modal-content='hypertext transfer protocol image by Pei Ling Hoo from <a href='http://www.fotolia.com'>Fotolia.com</a>'>
Log into your registrar's control panel using the user ID and domain name the registrar gave you upon registration.
Find the domain forwarding options in the dashboard for your domain name's control panel. The appearance of your domain's control panel can vary widely depending on the registrar with which you registered. Try to find an option that reads 'DNS settings' or 'Forwarding and Parking.' It may also say something like 'Domain Aliases' or 'Domain Masking.' Click until you get to the screen that asks you to input to what site you'd like your domain to forward.
Enter your eBay profile or eBay store URL in the field provided in the domain forwarding screen. The syntax for this URL is 'http://www.stores.ebay.com/your_store_ID' without quotes. Replace 'your_store_ID' with your unique eBay store ID. If you want your domain to just forward to your eBay profile, type 'http://myworld.ebay.com/your_eBay_ID' without quotes. Replace 'your_eBay_ID' with your unique eBay member name. You can also forward the domain to your current list of items for sale, by copying and pasting the 'Items for sale' link in your member profile.
Save your settings in your domain control panel. Once your domain registrar has processed your request, which can take as little as five minutes or as long as 72 hours, your domain name will now to your eBay account.
VPS Hosting
Saturday, August 22, 2015
How to Make a Debian Domain Controller
Open a terminal window and type 'su' and press 'Enter' to log in as the 'root' user. When entering commands don't include the quotes unless otherwise noted.
Type the following command, then press 'Enter' to install an LDAP server:aptitude install slapdThis is the server program used to authenticate Windows users.
Type the following command, then press 'Enter' to install the LDAP administrative interface:aptitude install apache-ssl phpldapadminThis command installs the secure version of the Apache Web server and the PHPLDAPAdmin package, which is used to provide easy LDAP administration. During the installation process you will be prompted to provide information about your organization to create the SSL certificate, including: country, state, city, organization or domain name, OU (which stands for organizational unit or department), host name of the computer and contact e-mail.
Type the following three commands to install MKNTPWD, press 'Enter' after each line:aptitude install make gcc libc-devwget http://www.nomis52.net/data/mkntpwd.tar.gztar zxvf mkntpwd.tar.gz && cd mkntpwd && make && cp mkntpwd /usr/local/bin/The MKNTPWD command is used to create Windows passwords.
Type the following command, then press 'Enter' to install Samba:aptitude install samba samba-docThis is the Samba package that will present the server to the network as a Windows server and translate the SMB protocol used in the domain.
Type the following two lines to install a basic LDAP configuration, press 'Enter' after each command:cd /usr/share/doc/samba-doc/examples/LDAPgunzip samba.schema.gz && cp samba.schema /etc/ldap/schema/This unpacks and installs the LDAP example schema, which can be modified for a Windows network.
Type the following command, then press 'Enter' to open the LDAP configuration file:emacs /etc/ldap/slapd.confYou can change 'emacs' to a different text editor if you prefer.
Search for the lines that start with 'include,' then add the following line after the 'include' lines:include /etc/ldap/schema/samba.schemaThis includes the Samba schema, which explains the structure of a Windows network to the LDAP server.
Press the 'Ctrl' and 'x' keys on the keyboard, then release the keys and press 'Ctrl' and 'x.' Press 'x' to save the file before exiting.
Type the following command, then press 'Enter' to restart the LDAP server:/etc/init.d/slapd restart
Open Firefox and enter the following in the address bar:https://mycomputer/phpldapadmin/Replace 'mycomputer' with the name or address of your computer. You can use any Web browser to access this address. This is the administration interface to use when adding or removing users and computers from your network.
Enter the user information. The user name is 'admin,' the password and domain are the same that was created when LDAP was installed. Don't include the quotes or coma in the user name.
Click the plus sign to expand the root node, then click 'Create new entry here.' Click 'OU,' followed by 'Proceed.'
Enter 'users' as the name of the OU, then click 'Create object.' Repeat step 13 and 14 to create two more objects called 'groups' and 'machines.' Don't include quotes or periods in the OU names.
Close Firefox, or your preferred browser, and return to the terminal window.
Type the following command, then press 'Enter' to open the Samba configuration file:emacs /etc/samba/smb.confYou can change 'emacs' to a different text editor if you prefer.
Press the 'Ctrl' and 's' keys to bring up the search function.
Type 'passdb backend=tdsam' to search for the password database line in the file. Don't include the quotes in the search. Then press enter to return to editing mode.
Replace the 'passdb' line you found with the following nine lines, press 'Enter' after each line:passdb backend = ldapsam:ldap://127.0.0.1ldap suffix = dc=mydomain,dc=comldap machine suffix = ou=machinesldap user suffix = ou=usersldap group suffix = ou=groupsldap admin dn = cn=admin,dc=mydomain,dc=comldap delete dn = nodomain logons = yesenable privileges = yesReplace 'mydomain' and 'com' with your full domain name.
Press the 'Ctrl' and 'x' keys on the keyboard, then release the keys and press 'Ctrl' and 'c'. Press 'y' to save the file before exiting.
Type the following command, then press 'Enter' to create an administrative password for Samba and restart the service:smbpasswd -w password && /etc/init.d/samba restartBe sure to write this password down along with the LDAP password. They will be required if you make changes later. The domain controller is now configured. You can add users to the domain using the PHPLDAPAdmin tool. Configure the Windows client machines to point to the domain controller as if it were a Windows domain controller.
VPS Hosting
Friday, August 21, 2015
How to Create a .org Website
Decide on the name of your website (called the 'domain name'), and check to see if that domain name is available. There are numerous companies online called domain name registrars that own domain names and will test name availability. Not all registrars offer .org domain name extensions; for a list of accredited registrars with .org domain extensions, visit the Public Interest Registry's list at http://www.pir.org/get/registrars. (See Reference 1, Reference 3)
Follow the instructions for purchasing and setting up the website domain specified by the particular domain registrar used. In addition to testing the availability of the website name, the registrar may also offer domain name suggestions based on the website's purpose, as well as hosting the site itself.
Choose a website hosting service to maintain the site's online presence, if the domain name registrar is not used for this purpose. There are hundreds of reputable hosting services, and the best way to find one is to determine the needs of the website. It is important to take the following criteria into consideration: cost, technical support and reliability, and capability for handling website size and traffic. (See Reference 2)
Hire a web designer or company to create the pages of the website. It is important to have a professional design the website due to the vast knowledge required for search engine optimization, quality of content, usability and aesthetic appeal.
VPS Hosting
Labels:
Follow,
http,
instructions,
Interest,
pir,
purchasing,
Reference,
Registry,
setting,
www
Thursday, August 20, 2015
How to Open Up a New Tab in HTML (6 Steps)
Open Windows Notepad or another text or HTML editor on your computer. Open the HTML file in which you want to place links that open in a new tab or window.
Position the cursor at the point in the HTML code where you want to place the link. Enter the following HTML code:http://www.somesite.com/somepage.htm' target='_blank'>Link Text
Change the 'http://www.somesite.com/somepage.htm' value to the actual website and page to open with the link.
Change the 'Link Text' value to the text you want to display for the link. For instance, 'Click Here to go to Somesite.com' or any other descriptive text.
Click 'File,' then 'Save' on the editor toolbar.
Use an FTP program or log in to the control panel of your Web hosting account to upload the new HTML file to your site. When visitors click links formatted with the above syntax, Web pages will open in a new tab if the browser supports the option. If the browser does not support tabbed pages, the link will open and display the Web page in a new browser window.
VPS Hosting
How to Redirect Mask With HostGator (15 Steps)
Navigate to the free Web Start Help masked forward-code generator endorsed by HostGator (see Resources).
Scroll down to the second section titled 'How do I create a masked forward? (frames).'
Type the title you want to appear at the top of your Web browser when someone visits your domain in the first field.
Type the full URL of the website where you want to redirect the domain in the second field. For example, if you want 'siteA.com' to redirect to 'siteB.com,' enter 'http://www.siteB.com' in the second field.
Click the submit button to generate the HTML code.
Launch Notepad from the 'Start' menu.
Copy and paste the HTML code generated earlier into the Notepad window.
Click 'File' and 'Save As.'
Type 'index.html' without the quotes for the file name and choose 'All files' for the file type. Choose the desktop for the save location. Click the 'Save' button.
Log in to your HostGator hosting account.
Click the 'File Manager' icon in the 'Files' section of the cPanel.
Select the site you wish to redirect from the 'Document root for' drop-down menu. This would be 'siteA.com' if you want to redirect from 'siteA.com' to 'siteB.com.' Click the 'Go' button.
Click the 'Upload' icon at the top of the screen.
Check the box beside 'Overwrite existing files' below the file upload fields.
Click the 'Browse' button and select the 'index.html' file from the desktop. Click the 'Open' button to upload the file and put the redirect mask in place.
VPS Hosting
Subscribe to:
Posts (Atom)